Debugger: Fix some output
This commit is contained in:
parent
b5aed43f04
commit
3be4f097a3
@ -142,7 +142,6 @@ Client.prototype._onResponse = function(res) {
|
||||
|
||||
if (res.headers.Type == 'connect') {
|
||||
// do nothing
|
||||
console.log(res);
|
||||
this.emit('ready');
|
||||
} else if (res.body && res.body.event == 'break') {
|
||||
this.emit('break', res.body);
|
||||
@ -373,7 +372,7 @@ function startInterface() {
|
||||
});
|
||||
|
||||
c.on('break', function (res) {
|
||||
var result = '';
|
||||
var result = '\r\n';
|
||||
if (res.body.breakpoints) {
|
||||
result += 'breakpoint';
|
||||
if (res.body.breakpoints.length > 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user