Electron 11, workaround for main process debugging in VS Code.

This commit is contained in:
Daniel Scalzi
2020-11-16 23:11:24 -05:00
parent d48abf444c
commit c93d4922a6
3 changed files with 44 additions and 41 deletions

View File

@@ -137,13 +137,9 @@ Paste the following into `.vscode/launch.json`
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
},
"args": ["."],
"console": "integratedTerminal",
"protocol": "inspector"
"program": "${workspaceFolder}/node_modules/electron/cli.js",
"args" : ["."],
"outputCapture": "std"
},
{
"name": "Debug Renderer Process",