electron: Developer tools: does not pause execution at `debugger`
- Electron version: 0.37.2
- Operating system: OS X (El Capitan 10.11.3)
If you use debugger
it will not pause the execution of the program. If I downgrade to electron version 0.36.x
, then it works.
Same happens when you set up breakpoints in the Developer Tools.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 3
- Comments: 17 (7 by maintainers)
Why less activity here? It’s high priority issue, that block most developers to move from 0.36.x
I’m hitting this as well in 1.4.4. My workaround so far is been to add a setTimeout before I do anything AND that timeout has to be > 500ms. Not sure what the shortest value is but at 500ms the debugger doesn’t catch. If I wait 2000ms then the dubugger does catch.
In other words
Is there something about the debugger needing to settle down before it can catch breakpoints?