Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

debugged process should not break when no ui is attached #1

Closed
dannycoates opened this Issue · 4 comments

2 participants

@dannycoates
Owner

Inspector should automatically continue the debugged process when a break event occurs and no gui is attached. This mimics the behavior of the client side debugger.

Or if breakpoints are saved by the gui with web sql, remove all breakpoints on disconnect and restore on reconnect.

@dannycoates
Owner

took the easy way for now and just continue from inspector.js when no ui is attached. commit a37a27f

@vsviridov

Is there an option to bypass that behaviour?
I have some network-related init code, and I simply can't refresh the browser quickly enough to hit the breakpoint.

@dannycoates
Owner

Maybe starting your node process with --debug-brk could work. It will pause your program on the first line so that you'll have time to attach the debugger. Let me know if this doesn't work for you.

Thanks,
Danny

@vsviridov

Okay, I did not try to pass that parameter to node executable. I was passing it directly to the node-inspector binary, and that was not working out properly.

Thanks.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.