Browse Source

Debugger: Fix some output

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
3be4f097a3
  1. 3
      lib/_debugger.js

3
lib/_debugger.js

@ -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…
Cancel
Save