src: add punctuation in --inspector doc url message
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
6e2d5af0e4
commit
f3e107aeef
@ -14,7 +14,7 @@ prompt will be displayed indicating successful launch of the debugger:
|
|||||||
```txt
|
```txt
|
||||||
$ node inspect myscript.js
|
$ node inspect myscript.js
|
||||||
< Debugger listening on ws://127.0.0.1:9229/80e7a814-7cd3-49fb-921a-2e02228cd5ba
|
< Debugger listening on ws://127.0.0.1:9229/80e7a814-7cd3-49fb-921a-2e02228cd5ba
|
||||||
< For help see https://nodejs.org/en/docs/inspector
|
< For help, see: https://nodejs.org/en/docs/inspector
|
||||||
< Debugger attached.
|
< Debugger attached.
|
||||||
Break on start in myscript.js:1
|
Break on start in myscript.js:1
|
||||||
> 1 (function (exports, require, module, __filename, __dirname) { global.x = 5;
|
> 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:
|
|||||||
```txt
|
```txt
|
||||||
$ node inspect myscript.js
|
$ node inspect myscript.js
|
||||||
< Debugger listening on ws://127.0.0.1:9229/80e7a814-7cd3-49fb-921a-2e02228cd5ba
|
< Debugger listening on ws://127.0.0.1:9229/80e7a814-7cd3-49fb-921a-2e02228cd5ba
|
||||||
< For help see https://nodejs.org/en/docs/inspector
|
< For help, see: https://nodejs.org/en/docs/inspector
|
||||||
< Debugger attached.
|
< Debugger attached.
|
||||||
Break on start in myscript.js:1
|
Break on start in myscript.js:1
|
||||||
> 1 (function (exports, require, module, __filename, __dirname) { global.x = 5;
|
> 1 (function (exports, require, module, __filename, __dirname) { global.x = 5;
|
||||||
@ -127,7 +127,7 @@ is not loaded yet:
|
|||||||
```txt
|
```txt
|
||||||
$ node inspect main.js
|
$ node inspect main.js
|
||||||
< Debugger listening on ws://127.0.0.1:9229/4e3db158-9791-4274-8909-914f7facf3bd
|
< Debugger listening on ws://127.0.0.1:9229/4e3db158-9791-4274-8909-914f7facf3bd
|
||||||
< For help see https://nodejs.org/en/docs/inspector
|
< For help, see: https://nodejs.org/en/docs/inspector
|
||||||
< Debugger attached.
|
< Debugger attached.
|
||||||
Break on start in main.js:1
|
Break on start in main.js:1
|
||||||
> 1 (function (exports, require, module, __filename, __dirname) { const mod = require('./mod.js');
|
> 1 (function (exports, require, module, __filename, __dirname) { const mod = require('./mod.js');
|
||||||
|
@ -104,7 +104,7 @@ void PrintDebuggerReadyMessage(const std::string& host,
|
|||||||
fprintf(out, "Debugger listening on %s\n",
|
fprintf(out, "Debugger listening on %s\n",
|
||||||
FormatWsAddress(host, port, id, true).c_str());
|
FormatWsAddress(host, port, id, true).c_str());
|
||||||
}
|
}
|
||||||
fprintf(out, "For help see %s\n",
|
fprintf(out, "For help, see: %s\n",
|
||||||
"https://nodejs.org/en/docs/inspector");
|
"https://nodejs.org/en/docs/inspector");
|
||||||
fflush(out);
|
fflush(out);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user