mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: add description for --port flag of node inspect
PR-URL: https://github.com/nodejs/node/pull/48785 Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
633b8cd181
commit
9ce73964be
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user