Browse Source

[debugger] Fix help message

Fedor Indutny 13 years ago
parent
commit
f549f2bf1d
  1. 21
      lib/_debugger.js

21
lib/_debugger.js

@ -567,18 +567,19 @@ Client.prototype.fullTrace = function(cb) {
var commands = [
'backtrace',
'continue',
'help',
'info breakpoints',
'run',
'restart',
'cont',
'next',
'step',
'out',
'repl',
'backtrace',
'breakpoints',
'kill',
'list',
'next',
'print',
'quit',
'run',
'scripts',
'step',
'version'
];
@ -790,9 +791,7 @@ function leftPad(n) {
// Print help message
Interface.prototype.help = function() {
this.pause();
process.stdout.write(helpMessage);
this.resume();
console.log(helpMessage);
};

Loading…
Cancel
Save