Closed MylesBorins closed 7 years ago
I would add "Move V8 inspector to stable" to the list: https://github.com/nodejs/node/issues/11770
cc @nodejs/diagnostics
One of the challenges are a bunch of tests in test/parallel/test-{cluster,debug}*
that depend on the flags. If we're fine with - temporarily - disabling them while working through porting and/or removing them, I have a local branch that removes --debug
& --debug-brk
.
If --debug
and --debug-brk
are being removed entirely, I'm OK with removing tests that depend on them.
A minimal removal of --debug
/--debug-brk
: https://github.com/nodejs/node/pull/12197
We discussed and reached conclusions on several issues in the last Diag WG meeting, take a look at these notes:
Thanks!
@MylesBorins - I added the hint text PR to the OP.
Just curious, if we will go with this - would be a command-line solution for debugging?
@indutny I think the answer is node-inspect
and I think that's why we moved it into the foundation and will start shipping with it. Or at least that's my recollection. Correction welcome, of course. https://github.com/nodejs/node-inspect
Ah, that's what it is! Neat!
We have consensus on this from the CTC. Looks like we are able to move forward with this for 8.0.0
@Trott
will start shipping with it
In fact we've been shipping it the past couple 7.x releases 😀, it's in deps/node-inspect, and invoked via node inspect _script.js_
, see here.
For the sake of giving as much time as possible to do proper tests, please try to get the PRs in for this by next Tuesday (the 11th). I'll be cutting the first As-Close-To-A-Release-Candidate-As-I-Can-Get that day.
Woot, it is no more.
Hey All,
So I believe that the diagnostics working group has already agreed to this, but I wanted to create a meta issue to both track what needs to be done to remove the legacy debugger from 8.0.0, as well as make sure that everyone is on the same page and there are no concerns.
AFAIK there is no need to vote on this beyond the sign off on required semver majors, but if anyone has an issue about removing the legacy debugger, this is the place to do it.
Why?
V8 5.7 is going to be the last version shipping with the protocol. If we are interested in upgrading the version of V8 before 8.x goes LTS we need to remove the legacy debugger before we cut 8.0.0 (as to avoid semver major changes during the lifetime of 8.x)
How?
There are currently several pull requests open to start the process
Alias debug to inspecthttps://github.com/nodejs/node/pull/11441_debugProcess to activate inspector / SIGUSR1https://github.com/nodejs/node/pull/11431remove --debug(landed)https://github.com/nodejs/node/pull/12197This last PR should land but will not block the release
TODO
if there is anything missing from here that would be necessary please lmk