I am able to compile coffee file to .map file in the same directory as the .coffee/.js file when I call
coffee --nodejs --debug-brk app.coffee
and start the node-inspector. The js version of the app file gets loaded in chrome. what am i missing??
this is what chrome is showing for three.coffee file ..
(function (exports, require, module, __filename, __dirname) { // Generated by CoffeeScript 1.6.2
(function() {
app.get('/three', function(req, res) {
debugger; return res.send('three/teedde');
});
}).call(this);
/*
//@ sourceMappingURL=three.map
*/
});
thanks
And now node-inspector supports source maps! github.com/node-inspector/node-inspector/issues/… – Vitaliy Lebedev Nov 8 '13 at 12:46