Webinar: Continuous Code Improvement Series | How to Improve with AI-Assisted Workflows Register Here Today!
September 22nd, 2020 • By Brian Rue
Do your source maps work locally?
For instructions on using source maps for local debugging, see this article in Google's Tools for Web Developers.
Are your source maps being successfully uploaded/downloaded?
Are your source maps valid?
Sometimes source maps can be generated with no content in them, or in an invalid format, e.g. base64. Check the source maps that are being uploaded to make sure they are in a human-readable format.
We also have this helpful tool to help check if your source map produces the correct mapping for the line numbers and column numbers from the exception.
Are source maps enabled by default for older projects?
If your project was created prior to May 16, 2017, then source maps are not enabled by default. To enable source maps for these projects, go to Settings -> Advanced -> Migrations and enabled source maps by default.
Have you defined a code version in your source?
If you are uploading your source maps via the Rollbar API, you must specify a version value, which is typically a Git SHA or a semantic version number.
Source maps still not working?
See our Source maps FAQ for more details and limitations of source maps in Rollbar, or get in touch with us via the in-app chat.