evanw/node-source-map-support — pull request #24 by ddude (2013-12-03 21:02:05+00:00)
Title: added retrieveFile option

I added an option for the ```install``` function so I can override the default source file loading behavior.

One use-case are on-the-fly compilers such as the require-cs plugin for requirejs. The original file on disk does not have the sourceMappingURL comment since its directly pointing to the CoffeeScript file. This comment is instead injected in the compiled text before sending it to eval().

With this new option, I can modify my fork of require-cs to directly provide source and source map data and my stack traces now display the proper original line/column numbers.