meteorhacks / zones

Zone.js integration for meteor
MIT License
30 stars 11 forks source link

sourcemaps aren't being used in traces #82

Open faceyspacey opened 8 years ago

faceyspacey commented 8 years ago

instead you click through to the original source within chrome, and then if you put a breakpoint on it, it will take you to the source-mapped version. That's not horribly frictionFul, but it could easily fixed.

In the traces displayed we'd have to parse the line # out of the true source code and then generate the link to the correct file at that line #. The Get Sentry recipe to accomplish this can serve as inspiration:

https://docs.getsentry.com/hosted/clients/javascript/sourcemaps/#raven-js-sourcemaps