Skip to content

inspector: fix dead 'For help' URL printed by --inspect#62855

Closed
MukundaKatta wants to merge 1 commit intonodejs:mainfrom
MukundaKatta:codex/fix-inspector-help-link
Closed

inspector: fix dead 'For help' URL printed by --inspect#62855
MukundaKatta wants to merge 1 commit intonodejs:mainfrom
MukundaKatta:codex/fix-inspector-help-link

Conversation

@MukundaKatta
Copy link
Copy Markdown

Summary

When node --inspect starts, it prints:

For help, see: https://nodejs.org/en/docs/inspector

That URL 404s on nodejs.org — the en/docs/inspector page no longer exists. The closest user-facing debugging help page is https://nodejs.org/en/learn/getting-started/debugging, which walks through connecting DevTools / IDEs to the inspector. This patch points the --inspect help message there.

Refs: #62743

Testing

Single-line string change in src/inspector_socket_server.cc. Verified:

  • the replacement URL (https://nodejs.org/en/learn/getting-started/debugging) currently resolves to the Debugging Node.js guide;
  • no other callers reference nodejs.org/en/docs/inspector.

Notes

The alternative URL suggested in the issue (https://nodejs.org/api/inspector.html) is the API reference for the inspector module, not a user-facing help page for --inspect. Happy to switch if maintainers prefer that target.

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
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/inspector

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. inspector Issues and PRs related to the V8 inspector protocol needs-ci PRs that need a full CI run. labels Apr 20, 2026
Copy link
Copy Markdown
Member

@lpinca lpinca left a comment

Choose a reason for hiding this comment

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

Duplicate of #62745.

@legendecas legendecas closed this Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. inspector Issues and PRs related to the V8 inspector protocol needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants