Fix debugger for main process (#2440)
This commit is contained in:
10
.vscode/launch.json
vendored
10
.vscode/launch.json
vendored
@@ -7,18 +7,10 @@
|
|||||||
"name": "Debug Main Process",
|
"name": "Debug Main Process",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
||||||
"runtimeArgs": [
|
|
||||||
"src",
|
|
||||||
"--disable-dev-mode"
|
|
||||||
],
|
|
||||||
"windows": {
|
"windows": {
|
||||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
||||||
},
|
},
|
||||||
"program": "${workspaceRoot}/src/main.js",
|
"program": "${workspaceRoot}/dist/index.js",
|
||||||
"outFiles": [
|
|
||||||
"${workspaceRoot}/src/main_bundle.js"
|
|
||||||
],
|
|
||||||
"sourceMaps": true,
|
|
||||||
"preLaunchTask": "Build sources"
|
"preLaunchTask": "Build sources"
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user