Last active
January 27, 2019 17:26
-
-
Save janosorcsik/3640c5373367a6e4a45243031bd3572a to your computer and use it in GitHub Desktop.
Launch.json for Electron debuggin in VS Code
This file contains 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": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Electron: Main", | |
"protocol": "inspector", | |
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron", | |
"runtimeArgs": [ | |
".", | |
"--enable-logging", | |
"--remote-debugging-port=9223", | |
] | |
}, | |
{ | |
"name": "Electron: Renderer", | |
"type": "chrome", | |
"request": "attach", | |
"port": 9223, | |
"webRoot": "${workspaceFolder}", | |
"timeout": 30000 | |
} | |
], | |
"compounds": [ | |
{ | |
"name": "Electron: All", | |
"configurations": [ | |
"Electron: Main", | |
"Electron: Renderer" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment