GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cli: document `--inspect` port `0` behavior · nodejs/node@137a2e5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • cli.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/cli.md‎

Copy file name to clipboardExpand all lines: doc/api/cli.md
+8-4Lines changed: 8 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,8 @@ accepted. Avoid using this option.
13301330
added: 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

13351336
V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug
13361337
and profile Node.js instances. The tools attach to Node.js instances via a
@@ -1364,7 +1365,8 @@ added: v7.6.0
13641365
-->
13651366

13661367
Activate 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

13691371
See [V8 Inspector integration for Node.js][] for further explanation on Node.js debugger.
13701372

@@ -1377,7 +1379,8 @@ added: v7.6.0
13771379
Set the `host:port` to be used when the inspector is activated.
13781380
Useful 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

13821385
See the [security warning][] below regarding the `host`
13831386
parameter usage.
@@ -1396,7 +1399,8 @@ added: v20.15.0
13961399
-->
13971400

13981401
Activate 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

14011405
See [V8 Inspector integration for Node.js][] for further explanation on Node.js debugger.
14021406

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.