inspector: fix dead 'For help' URL printed by --inspect#62855
Closed
MukundaKatta wants to merge 1 commit intonodejs:mainfrom
Closed
inspector: fix dead 'For help' URL printed by --inspect#62855MukundaKatta wants to merge 1 commit intonodejs:mainfrom
MukundaKatta wants to merge 1 commit intonodejs:mainfrom
Conversation
When running 'node --inspect', the bootstrapping output includes:
For help, see: https://nodejs.org/en/docs/inspector
That URL returns 404 on nodejs.org. The user-facing help guide for
debugging with --inspect now lives at
https://nodejs.org/en/learn/getting-started/debugging, so point the
message at that instead.
Refs: nodejs#62743
Collaborator
|
Review requested:
|
anonrig
approved these changes
Apr 20, 2026
lpinca
requested changes
Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When
node --inspectstarts, it prints:That URL 404s on nodejs.org — the
en/docs/inspectorpage no longer exists. The closest user-facing debugging help page ishttps://nodejs.org/en/learn/getting-started/debugging, which walks through connecting DevTools / IDEs to the inspector. This patch points the--inspecthelp message there.Refs: #62743
Testing
Single-line string change in
src/inspector_socket_server.cc. Verified:https://nodejs.org/en/learn/getting-started/debugging) currently resolves to the Debugging Node.js guide;nodejs.org/en/docs/inspector.Notes
The alternative URL suggested in the issue (
https://nodejs.org/api/inspector.html) is the API reference for theinspectormodule, not a user-facing help page for--inspect. Happy to switch if maintainers prefer that target.