Electron app not closing after debugging
I've set up my run/debug configuration for my Electron app as described here:
https://blog.jetbrains.com/webstorm/2016/05/getting-started-with-electron-in-webstorm/
I'm running on Windows, so using "electron.cmd" for the Node interpreter.
Runs OK...except when I close the app I get the following message in the WebStorm console tab:
Terminate batch job (Y/N)? ^C
When I try to run the app again, it says the app is stuff running (and lets me close it and start the new instance).
Is there a way to have the app end fully in webstorm when I close it?
Please sign in to leave a comment.
Looks similar to https://youtrack.jetbrains.com/issue/WEB-20604, please follow it for updates
All "electron.cmd" does is choose which node.exe and which electron/cli.js to execute. You can just do it manually: