@@ -1330,7 +1330,8 @@ accepted. Avoid using this option.
13301330added: v6.3.0
13311331-->
13321332
1333- Activate inspector on ` host:port ` . Default is ` 127.0.0.1:9229 ` .
1333+ Activate inspector on ` host:port ` . Default is ` 127.0.0.1:9229 ` . If port ` 0 ` is
1334+ specified, a random available port will be used.
13341335
13351336V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug
13361337and profile Node.js instances. The tools attach to Node.js instances via a
@@ -1364,7 +1365,8 @@ added: v7.6.0
13641365-->
13651366
13661367Activate inspector on ` host:port ` and break at start of user script.
1367- Default ` host:port ` is ` 127.0.0.1:9229 ` .
1368+ Default ` host:port ` is ` 127.0.0.1:9229 ` . If port ` 0 ` is specified,
1369+ a random available port will be used.
13681370
13691371See [ V8 Inspector integration for Node.js] [ ] for further explanation on Node.js debugger.
13701372
@@ -1377,7 +1379,8 @@ added: v7.6.0
13771379Set the ` host:port ` to be used when the inspector is activated.
13781380Useful when activating the inspector by sending the ` SIGUSR1 ` signal.
13791381
1380- Default host is ` 127.0.0.1 ` .
1382+ Default host is ` 127.0.0.1 ` . If port ` 0 ` is specified,
1383+ a random available port will be used.
13811384
13821385See the [ security warning] [ ] below regarding the ` host `
13831386parameter usage.
@@ -1396,7 +1399,8 @@ added: v20.15.0
13961399-->
13971400
13981401Activate inspector on ` host:port ` and wait for debugger to be attached.
1399- Default ` host:port ` is ` 127.0.0.1:9229 ` .
1402+ Default ` host:port ` is ` 127.0.0.1:9229 ` . If port ` 0 ` is specified,
1403+ a random available port will be used.
14001404
14011405See [ V8 Inspector integration for Node.js] [ ] for further explanation on Node.js debugger.
14021406
0 commit comments