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/node#48785
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
sercher committed Apr 25, 2024
1 parent 24a6201 commit 6f73081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graal-nodejs/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 6f73081

Please sign in to comment.