Skip to content

Commit 24b1951

Browse files
RafaelGSSTrott
authored andcommitted
debugger: add usage example for --port
1 parent 2a70f4f commit 24b1951

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/inspector/_inspect.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ function startInspect(argv = process.argv.slice(2),
340340

341341
console.error(`Usage: ${invokedAs} script.js`);
342342
console.error(` ${invokedAs} <host>:<port>`);
343+
console.error(` ${invokedAs} --port=<port>`);
343344
console.error(` ${invokedAs} -p <pid>`);
344345
process.exit(1);
345346
}

0 commit comments

Comments
 (0)