Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
debugger: export port
Fixes test-debugger-client.js

Fixes #1782.
  • Loading branch information
indutny authored and ry committed Sep 27, 2011
1 parent 0f8f863 commit 95866a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/_debugger.js
Expand Up @@ -54,7 +54,7 @@ exports.start = function(argv, stdin, stdout) {
});
};


exports.port = 5858;


//
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 95866a6

Please sign in to comment.