Skip to content

Commit

Permalink
doc: add description for --port flag of node inspect
Browse files Browse the repository at this point in the history
PR-URL: #48785
Reviewed-By: Kohei Ueno <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
iloveitaly authored and targos committed Nov 26, 2023
1 parent 633b8cd commit 9ce7396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/debugger/inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ function startInspect(argv = ArrayPrototypeSlice(process.argv, 2),

process.stderr.write(`Usage: ${invokedAs} script.js\n` +
` ${invokedAs} <host>:<port>\n` +
` ${invokedAs} --port=<port>\n` +
` ${invokedAs} --port=<port> Use 0 for random port assignment\n` +
` ${invokedAs} -p <pid>\n`);
process.exit(1);
}
Expand Down

0 comments on commit 9ce7396

Please sign in to comment.