JavaScript
Last updated
Was this helpful?
Last updated
Was this helpful?
BugSplat supports JavaScript and TypeScript error reporting in a variety of environments. We offer platform-specific integrations for , , and for your convenience.
Follow the links below for instructions on how to configure BugSplat in your application:
If a platform or framework your team is leveraging is not listed above, never fear! You can leverage our bugsplat to add error reporting to any browser-based app or to add error reporting to any Node.js based app.
Using the browser directly is awesome! BugSplat fully supports applications that don't use SPA frameworks. Follow the directions below to integrate with bugsplat in a browser-based JavaScript application.
Import from
Create a new instance of BugSplat with your database, application, and version
Configure bugsplat to listen to window.onerror
and window.onunhandledrejection
events
Trigger an error to see it reported in BugSplat
Install the dependencies
Start the server
Click on the ID of the most recent error to view the details of your report
Clone the repository
Open your browser and navigate to , then click the button to trigger an error.
Navigate to the BugSplat page to view your report