File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ Follows `require()`'s module resolution
94
94
rules. ` module ` may be either a path to a file, or a node module name.
95
95
96
96
97
- ### ` --inspect[=host:port] `
97
+ ### ` --inspect[=[ host:] port] `
98
98
<!-- YAML
99
99
added: v6.3.0
100
100
-->
@@ -106,7 +106,7 @@ and profile Node.js instances. The tools attach to Node.js instances via a
106
106
tcp port and communicate using the [ Chrome Debugging Protocol] [ ] .
107
107
108
108
109
- ### ` --inspect-brk[=host:port] `
109
+ ### ` --inspect-brk[=[ host:] port] `
110
110
<!-- YAML
111
111
added: v7.6.0
112
112
-->
Original file line number Diff line number Diff line change @@ -93,14 +93,14 @@ Preload the specified module at startup. Follows `require()`'s module resolution
93
93
rules. \fI module \fR may be either a path to a file, or a node module name.
94
94
95
95
.TP
96
- .BR \-\- inspect \fI [=host:port] \fR
96
+ .BR \-\- inspect \fI [=[ host:] port] \fR
97
97
Activate inspector on host:port. Default is 127.0.0.1:9229.
98
98
99
99
V8 Inspector integration allows attaching Chrome DevTools and IDEs to Node.js
100
100
instances for debugging and profiling. It uses the Chrome Debugging Protocol.
101
101
102
102
.TP
103
- .BR \-\- inspect-brk \fI [=host:port] \fR
103
+ .BR \-\- inspect-brk \fI [=[ host:] port] \fR
104
104
Activate inspector on host:port and break at start of user script.
105
105
106
106
.TP
Original file line number Diff line number Diff line change @@ -3481,9 +3481,10 @@ static void PrintHelp() {
3481
3481
" -r, --require module to preload (option can be "
3482
3482
" repeated)\n "
3483
3483
#if HAVE_INSPECTOR
3484
- " --inspect[=host:port] activate inspector on host:port\n "
3484
+ " --inspect[=[ host:] port] activate inspector on host:port\n "
3485
3485
" (default: 127.0.0.1:9229)\n "
3486
- " --inspect-brk[=host:port] activate inspector on host:port\n "
3486
+ " --inspect-brk[=[host:]port]\n "
3487
+ " activate inspector on host:port\n "
3487
3488
" and break at start of user script\n "
3488
3489
#endif
3489
3490
" --no-deprecation silence deprecation warnings\n "
You can’t perform that action at this time.
0 commit comments