From 168fb2bc5f43b38e93d6b32f8f03c6e7fd7dc2c2 Mon Sep 17 00:00:00 2001 From: Aviv Keller <38299977+RedYetiDev@users.noreply.github.com> Date: Tue, 9 Jul 2024 08:45:16 -0400 Subject: [PATCH] fixup! cli: document `--inspect` port `0` behavior --- doc/api/cli.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index d613756cd21975..fb32aff52ff6df 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1445,7 +1445,8 @@ added: v7.6.0 --> Activate inspector on `host:port` and break at start of user script. -Default `host:port` is `127.0.0.1:9229`. +Default `host:port` is `127.0.0.1:9229`. If port `0` is specified, +a random available port will be used. See [V8 Inspector integration for Node.js][] for further explanation on Node.js debugger.