@@ -1448,7 +1448,8 @@ or poisoning attack. Avoid using this option.
1448
1448
added: v6.3.0
1449
1449
-->
1450
1450
1451
- Activate inspector on ` host:port ` . Default is ` 127.0.0.1:9229 ` .
1451
+ Activate inspector on ` host:port ` . Default is ` 127.0.0.1:9229 ` . If port ` 0 ` is
1452
+ specified, a random available port will be used.
1452
1453
1453
1454
V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug
1454
1455
and profile Node.js instances. The tools attach to Node.js instances via a
@@ -1482,7 +1483,8 @@ added: v7.6.0
1482
1483
-->
1483
1484
1484
1485
Activate inspector on ` host:port ` and break at start of user script.
1485
- Default ` host:port ` is ` 127.0.0.1:9229 ` .
1486
+ Default ` host:port ` is ` 127.0.0.1:9229 ` . If port ` 0 ` is specified,
1487
+ a random available port will be used.
1486
1488
1487
1489
See [ V8 Inspector integration for Node.js] [ ] for further explanation on Node.js debugger.
1488
1490
@@ -1495,7 +1497,8 @@ added: v7.6.0
1495
1497
Set the ` host:port ` to be used when the inspector is activated.
1496
1498
Useful when activating the inspector by sending the ` SIGUSR1 ` signal.
1497
1499
1498
- Default host is ` 127.0.0.1 ` .
1500
+ Default host is ` 127.0.0.1 ` . If port ` 0 ` is specified,
1501
+ a random available port will be used.
1499
1502
1500
1503
See the [ security warning] [ ] below regarding the ` host `
1501
1504
parameter usage.
@@ -1514,7 +1517,8 @@ added: v22.2.0
1514
1517
-->
1515
1518
1516
1519
Activate inspector on ` host:port ` and wait for debugger to be attached.
1517
- Default ` host:port ` is ` 127.0.0.1:9229 ` .
1520
+ Default ` host:port ` is ` 127.0.0.1:9229 ` . If port ` 0 ` is specified,
1521
+ a random available port will be used.
1518
1522
1519
1523
See [ V8 Inspector integration for Node.js] [ ] for further explanation on Node.js debugger.
1520
1524
0 commit comments