From 95866a64457ae35b6c04f12dfae53194a431a4b1 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Wed, 28 Sep 2011 02:37:56 +0700 Subject: [PATCH] debugger: export port Fixes test-debugger-client.js Fixes #1782. --- lib/_debugger.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/_debugger.js b/lib/_debugger.js index baec929..2baf363 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -54,7 +54,7 @@ exports.start = function(argv, stdin, stdout) { }); }; - +exports.port = 5858; // @@ -1437,7 +1437,7 @@ Interface.prototype.killChild = function() { Interface.prototype.trySpawn = function(cb) { var self = this, breakpoints = this.breakpoints || [], - port = 5858, + port = exports.port, host = 'localhost'; this.killChild(); -- 2.7.4