Skip to content

Commit f3e107a

Browse files
n-filatovBridgeAR
authored andcommitted
src: add punctuation in --inspector doc url message
PR-URL: #19871 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
1 parent 6e2d5af commit f3e107a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/api/debugger.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ prompt will be displayed indicating successful launch of the debugger:
1414
```txt
1515
$ node inspect myscript.js
1616
< Debugger listening on ws://127.0.0.1:9229/80e7a814-7cd3-49fb-921a-2e02228cd5ba
17-
< For help see https://nodejs.org/en/docs/inspector
17+
< For help, see: https://nodejs.org/en/docs/inspector
1818
< Debugger attached.
1919
Break on start in myscript.js:1
2020
> 1 (function (exports, require, module, __filename, __dirname) { global.x = 5;
@@ -45,7 +45,7 @@ Once the debugger is run, a breakpoint will occur at line 3:
4545
```txt
4646
$ node inspect myscript.js
4747
< Debugger listening on ws://127.0.0.1:9229/80e7a814-7cd3-49fb-921a-2e02228cd5ba
48-
< For help see https://nodejs.org/en/docs/inspector
48+
< For help, see: https://nodejs.org/en/docs/inspector
4949
< Debugger attached.
5050
Break on start in myscript.js:1
5151
> 1 (function (exports, require, module, __filename, __dirname) { global.x = 5;
@@ -127,7 +127,7 @@ is not loaded yet:
127127
```txt
128128
$ node inspect main.js
129129
< Debugger listening on ws://127.0.0.1:9229/4e3db158-9791-4274-8909-914f7facf3bd
130-
< For help see https://nodejs.org/en/docs/inspector
130+
< For help, see: https://nodejs.org/en/docs/inspector
131131
< Debugger attached.
132132
Break on start in main.js:1
133133
> 1 (function (exports, require, module, __filename, __dirname) { const mod = require('./mod.js');

src/inspector_socket_server.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void PrintDebuggerReadyMessage(const std::string& host,
104104
fprintf(out, "Debugger listening on %s\n",
105105
FormatWsAddress(host, port, id, true).c_str());
106106
}
107-
fprintf(out, "For help see %s\n",
107+
fprintf(out, "For help, see: %s\n",
108108
"https://nodejs.org/en/docs/inspector");
109109
fflush(out);
110110
}

0 commit comments

Comments
 (0)