Bugsnag JS: Plain JS example

This page is a basic example of how to include bugsnag-js on a page via a <script> tag. The "app.js" is minified with uglify-js and either served with a link to the sourcemap, or uploaded directly, so that Bugsnag can fetch the sources/maps when an error is received.

Send some errors by clicking below: