@@ -1272,6 +1272,7 @@ Activate inspector on `host:port`. Default is `127.0.0.1:9229`.
12721272V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug
12731273and profile Node.js instances. The tools attach to Node.js instances via a
12741274tcp port and communicate using the [ Chrome DevTools Protocol] [ ] .
1275+ See [ V8 Inspector integration for Node.js] [ ] for further explanation on Node.js debugger.
12751276
12761277<!-- Anchor to make sure old links find a target -->
12771278
@@ -1302,6 +1303,8 @@ added: v7.6.0
13021303Activate inspector on ` host:port ` and break at start of user script.
13031304Default ` host:port ` is ` 127.0.0.1:9229 ` .
13041305
1306+ See [ V8 Inspector integration for Node.js] [ ] for further explanation on Node.js debugger.
1307+
13051308### ` --inspect-port=[host:]port `
13061309
13071310<!-- YAML
@@ -1323,6 +1326,17 @@ Specify ways of the inspector web socket url exposure.
13231326By default inspector websocket url is available in stderr and under ` /json/list `
13241327endpoint on ` http://host:port/json/list ` .
13251328
1329+ ### ` --inspect-wait[=[host:]port] `
1330+
1331+ <!-- YAML
1332+ added: REPLACEME
1333+ -->
1334+
1335+ Activate inspector on ` host:port ` and wait for debugger to be attached.
1336+ Default ` host:port ` is ` 127.0.0.1:9229 ` .
1337+
1338+ See [ V8 Inspector integration for Node.js] [ ] for further explanation on Node.js debugger.
1339+
13261340### ` -i ` , ` --interactive `
13271341
13281342<!-- YAML
@@ -2662,6 +2676,7 @@ one is included in the list below.
26622676* ` --inspect-brk `
26632677* ` --inspect-port ` , ` --debug-port `
26642678* ` --inspect-publish-uid `
2679+ * ` --inspect-wait `
26652680* ` --inspect `
26662681* ` --max-http-header-size `
26672682* ` --napi-modules `
@@ -3152,6 +3167,7 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
31523167[ ScriptCoverage ] : https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ScriptCoverage
31533168[ ShadowRealm ] : https://github.com/tc39/proposal-shadowrealm
31543169[ Source Map ] : https://sourcemaps.info/spec.html
3170+ [ V8 Inspector integration for Node.js ] : debugger.md#v8-inspector-integration-for-nodejs
31553171[ V8 JavaScript code coverage ] : https://v8project.blogspot.com/2017/12/javascript-code-coverage.html
31563172[ V8 code cache ] : https://v8.dev/blog/code-caching-for-devs
31573173[ `"type"` ] : packages.md#type
0 commit comments