Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Remove Legacy Debugger for 8.0.0 #94

Closed
MylesBorins opened this issue Apr 3, 2017 · 14 comments
Closed

Remove Legacy Debugger for 8.0.0 #94

MylesBorins opened this issue Apr 3, 2017 · 14 comments

Comments

@MylesBorins
Copy link

MylesBorins commented Apr 3, 2017

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

This last PR should land but will not block the release

TODO

  • Document use of the inspect (perhaps covered in one of the above PRs)

if there is anything missing from here that would be necessary please lmk

@targos
Copy link
Member

targos commented Apr 3, 2017

I would add "Move V8 inspector to stable" to the list: nodejs/node#11770

@richardlau
Copy link
Member

cc @nodejs/diagnostics

@jkrems
Copy link

jkrems commented Apr 3, 2017

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.

@Trott
Copy link
Member

Trott commented Apr 3, 2017

If --debug and --debug-brk are being removed entirely, I'm OK with removing tests that depend on them.

@jkrems
Copy link

jkrems commented Apr 3, 2017

A minimal removal of --debug/--debug-brk: nodejs/node#12197

@joshgav
Copy link
Contributor

joshgav commented Apr 5, 2017

@joshgav
Copy link
Contributor

joshgav commented Apr 5, 2017

@MylesBorins - I added the hint text PR to the OP.

@indutny
Copy link
Member

indutny commented Apr 5, 2017

Just curious, if we will go with this - would be a command-line solution for debugging?

@Trott
Copy link
Member

Trott commented Apr 5, 2017

@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

@indutny
Copy link
Member

indutny commented Apr 5, 2017

Ah, that's what it is! Neat!

@MylesBorins
Copy link
Author

We have consensus on this from the CTC. Looks like we are able to move forward with this for 8.0.0

@joshgav
Copy link
Contributor

joshgav commented Apr 5, 2017

@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.

@jasnell
Copy link
Member

jasnell commented Apr 5, 2017

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.

targos pushed a commit to targos/node that referenced this issue Apr 6, 2017
In the 2017-04-05 meeting, the CTC agreed to remove support for the
legacy debugger in 8.0.0. This is the first step in this direction.

Refs: nodejs/CTC#94
PR-URL: nodejs#12197
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
@Trott Trott removed the ctc-agenda label Apr 6, 2017
@MylesBorins
Copy link
Author

Woot, it is no more.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants