Public source maps
On this page
Public source maps are a core feature available on all paid plans along with private source maps.
Using source maps allows you to minify your JavaScript code to increase page performance while still being able to get relevant backtraces for your app’s errors.
Using public source maps with Airbrake
This guide assumes you have already installed Airbrake in your JavaScript app.
In order to enable source map support you have to specify the path to the
source map file according to
the source map specification.
For example, airbrake.min.js
has the following line:
//# sourceMappingURL=airbrake.min.map
Please note that the Airbrake backend downloads the source map file to
process the backtrace. This means that the source map should be publicly
accessible via HTTP. So, for example, don’t expect source map support to work
on your local webserver running on localhost
.
For other source map options, please check out private source maps and custom source map URLs.