mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
doc: add missing line in debugger
Output of "node inspect" missed "connecting to..." line from time to time. So added it. PR-URL: https://github.com/nodejs/node/pull/45632 Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
ed0a867a4e
commit
fa8caa328f
1 file changed
+4
-1
+4
-1
@@ -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
|
||||
@@ -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();
|
||||
@@ -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 }
|
||||
|
||||
Reference in new issue
Block a user