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 <kohei.ueno119@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
iloveitaly authored and RafaelGSS committed Aug 17, 2023
1 parent 7816e04 commit 3d36e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/debugger/inspect.js
Expand Up @@ -338,7 +338,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(kInvalidCommandLineArgument);
}
Expand Down

0 comments on commit 3d36e7a

Please sign in to comment.