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: nodejs#48785
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
iloveitaly authored and Ceres6 committed Aug 14, 2023
1 parent 7e81628 commit bd06805
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 @@ -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 bd06805

Please sign in to comment.