src: introduce inspect-brk-node by danbev · Pull Request #20819 · nodejs/node (original) (raw)

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.

Currently test are missing as I wanted to see if this is worth
pursuing first.

Checklist