During the development of a chrome extension, debugging was difficult because
Previously, Honeybadger could only download the source map files which were public and our source maps were inside the
.crx package which was inaccessible to honeybadger.
Recently, Honeybadger released a new feature to upload the source maps to Honeybadger. We have written a grunt plugin to upload the source maps to Honeybadger.
Here is how we can upload source map to Honeybadger.
First, install the grunt plugin.
Configure the gruntfile.
We can get the
token from Honeybadger project settings.
Now, we can upload the source maps to Honeybadger and get better error stack trace.
Clone the following repo.
token in Gruntfile.js
It should upload the sample source maps to your project.