Lost ability to run electron in debug mode


I have been using node inspector and electron --debug-brk=5858 . to run in debug mode all week. Suddenly this morning after running successfully a number of times the console window just hangs after running electron --debug-brk=5858 . and does not open electron or show any kind of error. I even tried restarting the whole computer just in case some process had crashed but it still doesn’t work. I can still run the exact same app, from the same directory by just using electron .

Has anyone experienced this problem before? Solutions?


Good grief.

At some point I copy/pasted electron --debug-brk=5858 .
instead of electron --debug=5858 .

The --debug-brk flag was the problem.