mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00: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:
committed by
Rich Trott
parent
ea0154814a
commit
302cc9e92c
@@ -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