From: Fedor Indutny Date: Tue, 27 Sep 2011 19:37:56 +0000 (+0700) Subject: debugger: export port X-Git-Tag: v0.5.8~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95866a64457ae35b6c04f12dfae53194a431a4b1;p=platform%2Fupstream%2Fnodejs.git debugger: export port Fixes test-debugger-client.js Fixes #1782. --- 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();