Created
August 15, 2017 15:50
-
-
Save spreadred/783e20c9dd5dc96ad3b8f5dbff6eec1f to your computer and use it in GitHub Desktop.
launch.json to enable integrated debugging of an Electron app in VSCode on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug Main Process", | |
"type": "node", | |
"request": "launch", | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd", | |
"protocol": "legacy", | |
"args" : ["."] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Debug attempts were timing out before adding
"protocol": "legacy"