Breakpoints at BrowserWindow Startup (--debug-brk)


#1

I’m having issues where I need to debug some javascript that runs immediately in a BrowserWindow context. I’m running Electron on a remote computer (that doesn’t have it’s own keyboard and can’t) and remote debugging it I can’t get it to pause at the beginning of execution. Is there a way to get behavior like node-inspector’s --debug-brk?


#2

I had this issue too. It seem like Atom is not respecting the Electron CLI switches.