I want to setup my debugging so that whenever nodemon restarts the app my vscode can debug both renderer and main processes. I have tried various things,
Launching nodemon via terminal and attaching debuggers for renderer and main using compounds -- This however works partially as nodemon restarts the node debugger reattaches fine but the chrome debugger never does reattach itself to the process.
Launching both debuggers from VScode, almost similar issues with chrome debugger.
Is there anyway I can attach and restart both node and chrome debuggers when nodemon restarts the app?
"restart": true, works for node debugger but not for chrome debugger as you can't use that property in its config.
Hello!
I want to setup my debugging so that whenever nodemon restarts the app my vscode can debug both renderer and main processes. I have tried various things,
Is there anyway I can attach and restart both node and chrome debuggers when nodemon restarts the app?
"restart": true,
works for node debugger but not for chrome debugger as you can't use that property in its config.here is my failed attempt to get it working.
Any suggestions/workarounds appreciated!