Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-12-23 05:39:22 +0300
committerRyan Dahl <ry@tinyclouds.org>2010-12-30 12:35:12 +0300
commit3be4f097a3dc1228e99b48e9beca9120c9c70a5f (patch)
tree48541ddd0670e596787aceb0331f6a209a07408f /lib
parentb5aed43f04b50b2e21bf2c370b859f9b8fbd0270 (diff)
Debugger: Fix some output
Diffstat (limited to 'lib')
-rw-r--r--lib/_debugger.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/_debugger.js b/lib/_debugger.js
index d1920943ae4..d3936def825 100644
--- a/lib/_debugger.js
+++ b/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) {