Skip to content

Commit f8ebaa7

Browse files
committed
Merge pull request #2560 from bmatusiak/theconfig
added debugPort for runnning nodejs apps args '-b 5858' is default
2 parents a6ba37d + 49dad82 commit f8ebaa7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configs/default.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ var vfsUrl = "/vfs";
2121

2222
var port = argv.p || process.env.PORT || 3131;
2323
var host = argv.l || process.env.IP || "localhost";
24+
var debugPort = argv.b || process.env.DEBUG_PORT || 5858;
2425

2526
var useAuth = argv.username && argv.password;
2627

@@ -186,7 +187,8 @@ var config = [
186187
},
187188
{
188189
packagePath: "./cloud9.run.node-debug",
189-
listenHint: "Important: in your scripts, use 'process.env.PORT' as port and '0.0.0.0' as host."
190+
listenHint: "Important: in your scripts, use 'process.env.PORT' as port and '0.0.0.0' as host.",
191+
debugPort: debugPort
190192
},
191193
"./cloud9.run.npm",
192194
"./cloud9.run.npmnode",

0 commit comments

Comments
 (0)