Skip to content

Instantly share code, notes, and snippets.

@chris-schmitz
Created May 12, 2017 18:44
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 chris-schmitz/84b5ca7ccc291097b2b1a6dea6f615ef to your computer and use it in GitHub Desktop.
Save chris-schmitz/84b5ca7ccc291097b2b1a6dea6f615ef to your computer and use it in GitHub Desktop.
VSCode launch config for debugging an electron app
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Electron",
"program": "${workspaceRoot}/electron_base/index.js",
"cwd": "${workspaceRoot}",
"stopOnEntry": false,
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"runtimeArgs": [
".", "--enable-logging"
],
"console": "integratedTerminal"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment