Skip to content

Commit

Permalink
doc: add missing line in debugger
Browse files Browse the repository at this point in the history
Output of "node inspect" missed "connecting to..."
line from time to time. So added it.

PR-URL: #45632
Reviewed-By: Kohei Ueno <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
deokjinkim authored and targos committed Dec 12, 2022
1 parent c9cba2e commit 4fb7cf8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/api/debugger.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ $ 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
<
connecting to 127.0.0.1:9229 ... ok
< Debugger attached.
<
ok
Expand Down Expand Up @@ -132,9 +133,9 @@ $ node inspect main.js
< Debugger listening on ws://127.0.0.1:9229/48a5b28a-550c-471b-b5e1-d13dd7165df9
< For help, see: https://nodejs.org/en/docs/inspector
<
connecting to 127.0.0.1:9229 ... ok
< Debugger attached.
<
ok
Break on start in main.js:1
> 1 const mod = require('./mod.js');
2 mod.hello();
Expand All @@ -158,6 +159,8 @@ given expression evaluates to `true`:
$ node inspect main.js
< Debugger listening on ws://127.0.0.1:9229/ce24daa8-3816-44d4-b8ab-8273c8a66d35
< For help, see: https://nodejs.org/en/docs/inspector
<
connecting to 127.0.0.1:9229 ... ok
< Debugger attached.
Break on start in main.js:7
5 }
Expand Down

0 comments on commit 4fb7cf8

Please sign in to comment.