Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: introduce inspect-brk-node #20819

Closed
wants to merge 2 commits into from
Closed

Commits on Jun 7, 2018

  1. src: introduce inspect-brk-node

    This commit is a suggestion to add a new option to the node executable
    to allow for breaking in node's javascript bootstrapper code.
    
    Previously I've been able to set breakpoints in node bootstrapper code
    and then restart the debugging session and those breakpoints would be
    hit, but I don't seem to be able to do so anymore. Having this option
    would allow me to use this option and then step through or add more
    break points as needed.
    
    $ ./node --help
    Usage: node [options] [ -e script | script.js | - ] [arguments]
           node inspect script.js [arguments]
    
    Options:
    ...
      --inspect-brk-node         will break in node's bootstrap code
                                 (default: false)
    ...
    
    Currently test are missing as I wanted to see if this is worth
    pursuing first.
    danbev committed Jun 7, 2018
    Configuration menu
    Copy the full SHA
    a2a1d0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f367591 View commit details
    Browse the repository at this point in the history