@@ -1270,6 +1270,7 @@ Activate inspector on `host:port`. Default is `127.0.0.1:9229`.
1270
1270
V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug
1271
1271
and profile Node.js instances. The tools attach to Node.js instances via a
1272
1272
tcp port and communicate using the [ Chrome DevTools Protocol] [ ] .
1273
+ See [ V8 Inspector integration for Node.js] [ ] for further explanation on Node.js debugger.
1273
1274
1274
1275
<!-- Anchor to make sure old links find a target -->
1275
1276
@@ -1300,6 +1301,8 @@ added: v7.6.0
1300
1301
Activate inspector on ` host:port ` and break at start of user script.
1301
1302
Default ` host:port ` is ` 127.0.0.1:9229 ` .
1302
1303
1304
+ See [ V8 Inspector integration for Node.js] [ ] for further explanation on Node.js debugger.
1305
+
1303
1306
### ` --inspect-port=[host:]port `
1304
1307
1305
1308
<!-- YAML
@@ -1321,6 +1324,17 @@ Specify ways of the inspector web socket url exposure.
1321
1324
By default inspector websocket url is available in stderr and under ` /json/list `
1322
1325
endpoint on ` http://host:port/json/list ` .
1323
1326
1327
+ ### ` --inspect-wait[=[host:]port] `
1328
+
1329
+ <!-- YAML
1330
+ added: REPLACEME
1331
+ -->
1332
+
1333
+ Activate inspector on ` host:port ` and wait for debugger to be attached.
1334
+ Default ` host:port ` is ` 127.0.0.1:9229 ` .
1335
+
1336
+ See [ V8 Inspector integration for Node.js] [ ] for further explanation on Node.js debugger.
1337
+
1324
1338
### ` -i ` , ` --interactive `
1325
1339
1326
1340
<!-- YAML
@@ -2709,6 +2723,7 @@ one is included in the list below.
2709
2723
* ` --inspect-brk `
2710
2724
* ` --inspect-port ` , ` --debug-port `
2711
2725
* ` --inspect-publish-uid `
2726
+ * ` --inspect-wait `
2712
2727
* ` --inspect `
2713
2728
* ` --max-http-header-size `
2714
2729
* ` --napi-modules `
@@ -3205,6 +3220,7 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
3205
3220
[ ScriptCoverage ] : https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ScriptCoverage
3206
3221
[ ShadowRealm ] : https://github.com/tc39/proposal-shadowrealm
3207
3222
[ Source Map ] : https://sourcemaps.info/spec.html
3223
+ [ V8 Inspector integration for Node.js ] : debugger.md#v8-inspector-integration-for-nodejs
3208
3224
[ V8 JavaScript code coverage ] : https://v8project.blogspot.com/2017/12/javascript-code-coverage.html
3209
3225
[ V8 code cache ] : https://v8.dev/blog/code-caching-for-devs
3210
3226
[ Web Crypto API ] : webcrypto.md
0 commit comments