Fork me on GitHub

HTML5

Using the Javascript library

Download the bugsense-1.1.js (Release Notes) file and store in it along with your other Javascript files. Alternatively you can use the BugSense hosted version (see the following Gist).

Include the script in your HTML page and page initialize it.

Older mobile browsers do not support the window.onerror callback and therefore the plugin will not receive any uncaught exception.


When there's only the Error object caught, error.stack will be parsed to get the url and line number.


Deobfuscation or retracing for minified and/or obfuscated Javascript files is not supported yet.


Bugsense.js uses CORS to send crash reports.


Registering caught exceptions

Bugsense.js also allows you to register handled exception and append custom data to the crash report.

Custom data & Breadcrumbs

You can add custom data to the BugSense crash reports as well as breadcrumbs to help you debug your app faster!

Sign in with Google

Forgot your password?