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') {
|
if (res.headers.Type == 'connect') {
|
||||||
// do nothing
|
// do nothing
|
||||||
console.log(res);
|
|
||||||
this.emit('ready');
|
this.emit('ready');
|
||||||
} else if (res.body && res.body.event == 'break') {
|
} else if (res.body && res.body.event == 'break') {
|
||||||
this.emit('break', res.body);
|
this.emit('break', res.body);
|
||||||
@ -373,7 +372,7 @@ function startInterface() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
c.on('break', function (res) {
|
c.on('break', function (res) {
|
||||||
var result = '';
|
var result = '\r\n';
|
||||||
if (res.body.breakpoints) {
|
if (res.body.breakpoints) {
|
||||||
result += 'breakpoint';
|
result += 'breakpoint';
|
||||||
if (res.body.breakpoints.length > 1) {
|
if (res.body.breakpoints.length > 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user