From c63a39b6cd2b1b3b116da17f5dd538a94e052ede Mon Sep 17 00:00:00 2001 From: Jackson Tian Date: Thu, 26 Mar 2015 21:20:23 +0800 Subject: [PATCH] debugger: improve help information Reviewed-By: Julien Gilli PR-URL: https://github.com/joyent/node/pull/14172 --- lib/_debugger.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/_debugger.js b/lib/_debugger.js index b8a3177d6877..c4155ce4c753 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 :'); + console.error(' node debug -p '); process.exit(1); }