mirror of
https://github.com/nodejs/node.git
synced 2026-11-15 10:36:53 -05:00
debugger: add usage example for --port
PR-URL: https://github.com/nodejs/node/pull/38400 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
ea0154814a
commit
302cc9e92c
1 file changed
+1
@@ -340,6 +340,7 @@ function startInspect(argv = process.argv.slice(2),
|
||||
|
||||
console.error(`Usage: ${invokedAs} script.js`);
|
||||
console.error(` ${invokedAs} <host>:<port>`);
|
||||
console.error(` ${invokedAs} --port=<port>`);
|
||||
console.error(` ${invokedAs} -p <pid>`);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user