Viewing javascript source maps visually
Asked Answered
O

2

9

I remember finding a source map viewer somewhere one time, which showed you the source and the source-map side by side (i think also with the compiled code), and let you scroll your mouse around to see different parts of the source map.

I can't for the life of me find it now, but I really want to use it to verify the integrity of my source map (can't tell if bug in the map or in chrome).

Anyone know what I'm talking about?

Obi answered 13/2, 2015 at 19:56 Comment(1)
Also asked on softwarerecs.Ileum
O
17

Oh, YES I found it! From the guy who gave us webpack:

http://sokra.github.io/source-map-visualization/

Obi answered 25/2, 2015 at 21:5 Comment(0)
R
3

http://sokra.github.io/source-map-visualization/ didn't work for me out of box because my project was too big.

I strongly recommend https://github.com/evanw/source-map-visualization as an alternative, also because I like how compact it is. Just open index.html, drag & drop files and it worked like charm.

Ranzini answered 16/1 at 8:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.