Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blog: diag wg update and --debug deprecation #1156

Closed
wants to merge 1 commit into from
Closed

blog: diag wg update and --debug deprecation #1156

wants to merge 1 commit into from

Conversation

joshgav
Copy link
Contributor

@joshgav joshgav commented Feb 23, 2017

A post to go with --debug deprecation, planned to land in 7.7.0 on Feb 28 (nodejs/node#11275).

Starts with a review of progress on diagnostic tools in the past year, then discusses transition from legacy V8 Debugger to Inspector.

I think this can land anytime before 7.7.0.

/cc @italoacasas @nodejs/diagnostics


As a result, **running `node --debug`** (or its variants like `--debug-brk` and
`--debug-port=1234`) **will present a deprecation warning now and stop working
in a future release**. To debug your code from now on, use `node --inspect` or
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention that we understand that introducing a deprecation in 7.x breaks backwards compatibility and would not normally be permitted, but we need to do it to keep in sync with v8?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, updated, PTAL. Thanks!


As a result, **running `node --debug`** (or its variants like `--debug-brk` and
`--debug-port=1234`) **will present a deprecation warning now and stop working
in a future release**. To debug your code from now on, use `node --inspect` or
Copy link
Contributor

@italoacasas italoacasas Feb 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the warning is going to be added only in v7 I think we should be specific on that

@joshgav
Copy link
Contributor Author

joshgav commented Feb 24, 2017

@italoacasas I fixed up to not discuss future plans for the moment. In addition to the deprecation warning, nodejs/node#11441 proposes aliasing to inspect equivalents starting in 8.x.

@italoacasas
Copy link
Contributor

italoacasas commented Feb 24, 2017

@joshgav this looks LGTM to me, @sam-github ??

btw, I don't have access to this repo, can someone from @nodejs/website land this if Sam is ok with the change, please. This feature is going to be released on Feb 28(next Tuesday) and is going to be nice if we can have this on the blog ASAP.

Update 1: @jasnell something to add here?

@lpinca
Copy link
Member

lpinca commented Feb 25, 2017

@italoacasas yes this repo has a LOT of collaborators. It should be a problem to get this merged in time once it is ready to land.

[node-report]: https://github.com/nodejs/node-report
[llnode]: https://github.com/nodejs/llnode

Over the coming months we hope to graduate these from experimental status with
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"experimental" might be confused with the "Stability Index - Experimental". Some of these tools like async_hooks will likely graduate to "Stability Index - Experimental" from a pre-experimental state.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for that link Andreas. Updated language to be a bit more generic, PTAL.

@joshgav
Copy link
Contributor Author

joshgav commented Feb 28, 2017

A couple minor fixes as per below. Squashed and rebased. Will land tomorrow (Tues 2/28) morning if no objections. Thanks!

joshgav added a commit that referenced this pull request Feb 28, 2017
PR-URL: #1156
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@joshgav
Copy link
Contributor Author

joshgav commented Feb 28, 2017

Landed in a6fa352 and https://nodejs.org/en/blog/wg/diag-wg-update-2017-02/

Thanks for the reviews!

@joshgav joshgav closed this Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants