src, inspector: add --inspect-brk option (backport 7.x)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
src, inspector
Backport of #8979 to 7.x-staging.
add an --inspect-brk option which breaks on first line of user script. same behavior as old --debug-brk flag.