Permalink
Browse files

Merge pull request #92 from diwu1989/master

Coffee doesn't understand debug or debugBrk options
  • Loading branch information...
iangreenleaf committed Feb 19, 2013
2 parents 5a22ee2 + d499fc5 commit 6368bbed0c931560f588e7d91058e4ad51127be6
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/supervisor.js
View
@@ -79,6 +79,11 @@ function run (args) {
program.unshift("--debug-brk");
}
+ if (executor === "coffee" && (debugFlag || debugBrkFlag)) {
+ // coffee does not understand debug or debug-brk, make coffee pass options to node
+ program.unshift("--nodejs")
+ }
+
try {
// Pass kill signals through to child
[ "SIGTERM", "SIGINT", "SIGHUP", "SIGQUIT" ].forEach( function(signal) {

0 comments on commit 6368bbe

Please sign in to comment.