process: move DEP0062 (node --debug) to end-of-life by joyeecheung · Pull Request #25828 · nodejs/node (original) (raw)
process: exit on --debug and --debug-brk after option parsing
Moves the exit of --debug
and --debug-brk
earlier, that is,
after the option parsing is done in the C++ land.
Also removes process._invalidDebug
.
process: move DEP0062 (node --debug) to end-of-life
This has already been practically end-of-life since node --debug
alone would exit the process. This patch drops support ofnode --inspect --debug-brk
as well.
node --inspect --debug-brk
has been deprecated since v8,
it has been maintained so that vendors can target Node.js
v6 and above without detecting versions.
The support of --inspect
, which starts from v6, will reach
end-of-life in April 2019, it should be safe to drop the support
of --inspect --debug-brk
altogether in v12.
Also removes process._deprecatedDebugBrk
Refs: #12949
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