Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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