Search code examples
node.jscoffeescriptsource-maps

CoffeeScript source maps for nodeJS development


Now that CoffeeScript supports the new Source Map hotness, I was wondering if I can also use the source maps not just in my browser, but on the command line while developing my nodeJS apps.

I want the JS compiler to give me more useful error traces where the lines actually match with my coffeescript files instead of compiled JS files.


Solution

  • Now with CoffeeScript 1.6.2 it just "works" if you run your app with the coffee command :)