For testing a map I use Ron's visualizer (https://github.com/rbuckton/sourcemap-visualizer) it produces an awesome interactive visualization of the source map.
The readme is a bit light :| but to use it:
Set it up
1) Clone the repo
2) npm install
3) npm install -g jake (if not already)
Use it (from the bin folder):
1) node sourcemap
node .\sourcemap .\cli.js.map
Produces a html file (cli.js.map.html) that looks something like:
From: dev-js-sourcemap [mailto:email@example.com] On Behalf Of Brian Sturgill
Sent: Thursday, February 12, 2015 12:10 PM
Subject: Are there known editors/IDEs that use source maps for HTML?
I am making a preprocessor for HTML and would like to test my maps with a program that knows how to use them.
dev-js-sourcemap mailing list