projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f8f863
)
debugger: export port
author
Fedor Indutny
<fedor.indutny@gmail.com>
Tue, 27 Sep 2011 19:37:56 +0000
(
02:37
+0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Tue, 27 Sep 2011 19:49:03 +0000
(12:49 -0700)
Fixes test-debugger-client.js
Fixes #1782.
lib/_debugger.js
patch
|
blob
|
history
diff --git
a/lib/_debugger.js
b/lib/_debugger.js
index
baec929
..
2baf363
100644
(file)
--- 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();