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 <kohei.ueno119@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
deokjinkim authored and danielleadams committed Dec 29, 2022
1 parent b9c2151 commit 58e838f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/api/debugger.md
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 58e838f

Please sign in to comment.