In node.js express app and nodeunit tests I widely use coffeescript without saving resulting javascript files on disk to avoid project clogging by javascript translations.
When I got any error in coffeeScript file I see in console: the filename where error was occured and line number (for example 37): /pathTo_File/fileName.coffee:37
. But I dont have 37th line in my coffee file!!! I have two times less lines there.
I guess that I got error on 37th row in my output javascript file, but I don't have it on disk. Coffeescript files only.
So how I can get line number with error in coffeescript file?
I understand that I can translate my coffee script file manually (using console) to js and see there line number and guess on what line I got that error on my coffee file. But maybe there is something faster.
My IDE is WebStorm and os is osX.