Skip to content

Commit 9ce7396

Browse files
iloveitalytargos
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 633b8cd commit 9ce7396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/debugger/inspect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ function startInspect(argv = ArrayPrototypeSlice(process.argv, 2),
331331

332332
process.stderr.write(`Usage: ${invokedAs} script.js\n` +
333333
` ${invokedAs} <host>:<port>\n` +
334-
` ${invokedAs} --port=<port>\n` +
334+
` ${invokedAs} --port=<port> Use 0 for random port assignment\n` +
335335
` ${invokedAs} -p <pid>\n`);
336336
process.exit(1);
337337
}

0 commit comments

Comments
 (0)