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

coffeescript needs --nodejs with --debug #37

Closed
sorahn opened this issue Jan 28, 2014 · 4 comments
Closed

coffeescript needs --nodejs with --debug #37

sorahn opened this issue Jan 28, 2014 · 4 comments

Comments

@sorahn
Copy link
Contributor

sorahn commented Jan 28, 2014

We made an adjustment to our tasks/lib/server.js file to include the following.

      if(options.debug) {
        options.args.unshift('--debug');
        if(options.cmd === 'coffee') {
          options.args.unshift('--nodejs');
        }
      }

I can send along a proper pull request later. if you want it.

@ericclemmons
Copy link
Owner

What does that do?

@sorahn
Copy link
Contributor Author

sorahn commented Jan 28, 2014

Correctly enables nodejs debugging when using the coffeescript. See http://coffeescript.org/ (ctfl+f for "--nodejs") since there's not an easy way to link to it.

There are a few specific node commands that have to be pre-flagged with --nodejs to have the coffeescript binary properly send them to node.

@ericclemmons
Copy link
Owner

Great! I don't use Coffeescript that often, so this helps a lot. Great feedback! I'll be sure to merge it in...

@paulpflug
Copy link
Collaborator

your problem should be handled with the opts option from #50.

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

3 participants