Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runjs --nodejs --debug app.coffee #20

Open
aadityabhatia opened this issue May 23, 2012 · 1 comment
Open

runjs --nodejs --debug app.coffee #20

aadityabhatia opened this issue May 23, 2012 · 1 comment

Comments

@aadityabhatia
Copy link

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.

@DTrejo
Copy link
Owner

DTrejo commented Sep 21, 2012

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

DTrejo added a commit that referenced this issue Dec 25, 2013
- supports --debug & --debug-brk for @arrrght :)
- fixes / implements #34 #27 #33 #29 #23 #20 #17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants