mirror of https://github.com/nodejs/node.git
[debugger] use newly added `eval` argument for REPLServer
parent
0d4dc3a8b5
commit
77eb8eabe2
|
@ -640,8 +640,8 @@ function Interface() {
|
||||||
self.killChild();
|
self.killChild();
|
||||||
});
|
});
|
||||||
|
|
||||||
this.repl = new repl.REPLServer('debug> ');
|
this.repl = new repl.REPLServer('debug> ', null,
|
||||||
this.repl.eval = this.controlEval.bind(this);
|
this.controlEval.bind(this));
|
||||||
|
|
||||||
// Lift all instance methods to repl context
|
// Lift all instance methods to repl context
|
||||||
var proto = Interface.prototype,
|
var proto = Interface.prototype,
|
||||||
|
|
Loading…
Reference in New Issue