NodeJS plugin + Coffeescript

Hey everyone!

I'm trying to debug a nodejs app I've written in coffeescript. I can't seem to figure out how to configure it properly. This is what made sense to me:
configuration.png

The result of running this (from the console):

/local/node/bin/coffee app.coffee
env: node: No such file or directory


Process finished with exit code 127



I can't seem to figure out why this would happen. Help would be appreciated. Thanks!

Abhik
5 comments
Comment actions Permalink

Ok sorry, "Search the Community" didn't turn up any results, but the related articles did once I posted this!

Turns out I had to add PATH=/local/node/bin

0
Comment actions Permalink

I'm guessing debugging is out of the questions with Coffeescript?

0
Comment actions Permalink

Sorry, but RubyMine doesn't have support of debugging of CoffeeScript code yet

0
Comment actions Permalink

where did you add PATH=/local/node/bin what is in your bash , zsh script or in the idea ?

0
Comment actions Permalink

Stephen,

You could add environment variables in NodeJS Run Configuration. Just open the run configuration dialog and change attribute named "Environment variables"

0

Please sign in to leave a comment.