kiddkai / atom-node-debugger

A Nodejs Debugger For Atom
MIT License
265 stars 75 forks source link

Configure break on first line #191

Open kurtsson opened 7 years ago

kurtsson commented 7 years ago

Not sure if this is a good idea but the plugin runs debug with the --debug-brk flag every time. I think I would like a way of running debug without breaking on the first line every time which I think --debug would do.

WORMSS commented 7 years ago

The break on first line is because of node. It is so the debugger has plenty of time to connect. So you do not miss any parts early in the code.. What I think it should do is have an option, so once it is connected, it automatically continues. (Unless of course there is a real breakpoint on the first line.