diff options
author | Jackson Tian <puling.tyq@alibaba-inc.com> | 2015-03-26 21:20:23 +0800 |
---|---|---|
committer | Julien Gilli <julien.gilli@joyent.com> | 2015-04-14 12:25:02 -0700 |
commit | c63a39b6cd2b1b3b116da17f5dd538a94e052ede (patch) | |
tree | 16e63900357ea1c9c1be3e1e0026789761f7bad6 | |
parent | d5b32246fbbc231178e6e6d3ca0d14ba1b09b5d6 (diff) | |
download | node-new-c63a39b6cd2b1b3b116da17f5dd538a94e052ede.tar.gz |
debugger: improve help information
Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
PR-URL: https://github.com/joyent/node/pull/14172
-rw-r--r-- | lib/_debugger.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/_debugger.js b/lib/_debugger.js index b8a3177d68..c4155ce4c7 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -33,6 +33,8 @@ exports.start = function(argv, stdin, stdout) { if (argv.length < 1) { console.error('Usage: node debug script.js'); + console.error(' node debug <host>:<port>'); + console.error(' node debug -p <pid>'); process.exit(1); } |