runjs --nodejs --debug app.coffee
aadityabhatia opened this issue · comments
runjs does not allow passing debug flags to the coffee parser. In this case, since the second argument is "--nodejs" and not "app.coffee", runjs uses node instead of coffee as the parser, which obviously fails.
Placing the flags after "app.coffee" as follows does not trigger the debugger: runjs app.coffee --nodejs --debug
.
Hmm, so if it is .cs, then it needs to pull args out and supply them to node, it seems.
I will be doing a rewrite of this in the coming months, but I don't write CS, so PRs accepted.
Thanks,
D