Skip to content

doc,src,test: fix dead inspector help URL#62745

Open
semimikoh wants to merge 2 commits intonodejs:mainfrom
semimikoh:fix/inspector-dead-help-link
Open

doc,src,test: fix dead inspector help URL#62745
semimikoh wants to merge 2 commits intonodejs:mainfrom
semimikoh:fix/inspector-dead-help-link

Conversation

@semimikoh
Copy link
Copy Markdown
Contributor

The inspector help message pointed to https://nodejs.org/en/docs/inspector
which returns a 404. Updated to https://nodejs.org/api/inspector.html.

  • src: update URL in inspector_socket_server.cc
  • doc: update example output in inspector.md and debugger.md
  • test: update response pattern in test-inspector-help-page.js

Fixes: #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 14, 2026
@semimikoh semimikoh force-pushed the fix/inspector-dead-help-link branch from f955be0 to 2a6b732 Compare April 14, 2026 23:28
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.69%. Comparing base (d080801) to head (403ae9c).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #62745      +/-   ##
==========================================
- Coverage   91.55%   89.69%   -1.86%     
==========================================
  Files         355      706     +351     
  Lines      149381   218127   +68746     
  Branches    23364    41737   +18373     
==========================================
+ Hits       136765   195653   +58888     
- Misses      12354    14404    +2050     
- Partials      262     8070    +7808     
Files with missing lines Coverage Δ
src/inspector_socket_server.cc 83.69% <ø> (ø)

... and 473 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@mertcanaltin mertcanaltin left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the edits!

Comment thread doc/api/debugger.md Outdated
@@ -16,7 +16,7 @@ script to debug.
```console
$ node inspect myscript.js
< Debugger listening on ws://127.0.0.1:9229/621111f9-ffcb-4e82-b718-48a145fa5db8
< For help, see: https://nodejs.org/en/docs/inspector
< For help, see: https://nodejs.org/api/inspector.html
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The page is actually moved to https://nodejs.org/learn/getting-started/debugging.

Suggested change
< For help, see: https://nodejs.org/api/inspector.html
< For help, see: https://nodejs.org/learn/getting-started/debugging

@@ -28,7 +28,7 @@ function check(url, cb) {
});

res.on('end', common.mustCall(() => {
assert.match(result, />Debugging Node\.js</);
assert.match(result, /<title>Inspector \| Node\.js/);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The page https://nodejs.org/learn/getting-started/debugging still match this matcher.

@semimikoh semimikoh force-pushed the fix/inspector-dead-help-link branch from 2a6b732 to 39d8662 Compare April 15, 2026 15:16
@semimikoh semimikoh force-pushed the fix/inspector-dead-help-link branch from 39d8662 to 403ae9c Compare April 15, 2026 15:24
@legendecas
Copy link
Copy Markdown
Member

would you mind fixing the linter errors?

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.

Dead link to inspector docs

5 participants