diff --git a/lib/_debugger.js b/lib/_debugger.js index 59f5a7a4126..63dc36a10f3 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -640,8 +640,8 @@ function Interface() { self.killChild(); }); - this.repl = new repl.REPLServer('debug> '); - this.repl.eval = this.controlEval.bind(this); + this.repl = new repl.REPLServer('debug> ', null, + this.controlEval.bind(this)); // Lift all instance methods to repl context var proto = Interface.prototype,