Skip to content

Instantly share code, notes, and snippets.

@cjus
Last active June 14, 2018 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjus/9406199e36b3cec2a59c29cc43ae3616 to your computer and use it in GitHub Desktop.
Save cjus/9406199e36b3cec2a59c29cc43ae3616 to your computer and use it in GitHub Desktop.
Debugging an Electron app using VSCode
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/electron/main.js",
"stopOnEntry": false,
"args": [],
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"runtimeArgs": [
".",
"--enable-logging"
],
"env": {},
"externalConsole": false,
"sourceMaps": false,
"outDir": null
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment