Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
cli: document --inspect port 0 behavior
  • Loading branch information
avivkeller authored Jul 9, 2024
commit f497ab2d6eb3512a30109ca6556da18d30480f68
3 changes: 2 additions & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,8 @@ or poisoning attack. Avoid using this option.
added: v6.3.0
-->

Activate inspector on `host:port`. Default is `127.0.0.1:9229`.
Activate inspector on `host:port`. Default is `127.0.0.1:9229`. If port `0` is
Comment thread
avivkeller marked this conversation as resolved.
specified, a random available port will be used.

V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug
and profile Node.js instances. The tools attach to Node.js instances via a
Expand Down