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:
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
请先登录再写评论。
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
I'm guessing debugging is out of the questions with Coffeescript?
Sorry, but RubyMine doesn't have support of debugging of CoffeeScript code yet
where did you add PATH=/local/node/bin what is in your bash , zsh script or in the idea ?
Stephen,
You could add environment variables in NodeJS Run Configuration. Just open the run configuration dialog and change attribute named "Environment variables"