Skip to content

Commit 3d36e7a

Browse files
iloveitalyRafaelGSS
authored andcommitted
doc: add description for --port flag of node inspect
PR-URL: #48785 Reviewed-By: Kohei Ueno <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 7816e04 commit 3d36e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/debugger/inspect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ function startInspect(argv = ArrayPrototypeSlice(process.argv, 2),
338338

339339
process.stderr.write(`Usage: ${invokedAs} script.js\n` +
340340
` ${invokedAs} <host>:<port>\n` +
341-
` ${invokedAs} --port=<port>\n` +
341+
` ${invokedAs} --port=<port> Use 0 for random port assignment\n` +
342342
` ${invokedAs} -p <pid>\n`);
343343
process.exit(kInvalidCommandLineArgument);
344344
}

0 commit comments

Comments
 (0)