jashkenas/coffeescript — pull request #3696 by xapantu (2014-10-27 17:14:27+00:00)
Title: Add the required code to launch the proper nodejs module to get a good backtrace

Using this module https://github.com/evanw/node-source-map-support

bin/coffee -c -m --nodejsmap test.cs
nodejs test.js

auiua()
^
ReferenceError: auiua is not defined
at Object. (/home/xapantu/coffeescript/test.cs:1:1)
at Object. (/home/xapantu/coffeescript/test.cs:1:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3