Permalink
Browse files

debugger: export port anyway

  • Loading branch information...
1 parent 67706b8 commit f6c17c2715f45224027a2f9efc32b016ed019d2e @indutny committed Sep 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/_debugger.js
View
@@ -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();

0 comments on commit f6c17c2

Please sign in to comment.