I'm using CoffeeScript with Node.js. I want to be able to debug JavaScript errors/exceptions that pop up, but the line numbers for those errors are from the generated JavaScript code, not from the CoffeeScript source, so I'm having trouble figuring out where in the CoffeeScript the error actually is.
Is there anyway I can debug this? I have the latest version of node.js, version 0.10.
The CoffeeScript compiler supports source maps, so there is a mapping from JavaScript to Coffeescript with the information you need to know. For your server-side project I think that Jet Brains uses this map for debugging. On the browser side Chrome seems to support it. I'm not sure if one of the tools works for you, but if not I think CoffeeScript and source map are the words you should look for. Good luck!