I have tests written in js (mocha) where I am directly requireing .coffee files. And using node-inspector to debug.
Using require('coffee-script').register() I am not able to generate sourcemaps.
I found a solution here but I don't think it works. Although I just did a bit of surface level digging over the annotated source and seems that sourcemaps are getting generated when using the coffee compiler. Could it be an easy fix just to "turn on" sourcemaps for register() as well?
Without sourcemaps debugging nodejs scripts in coffee are nothing short of a nightmare :(