The my-electron-crasher sample demonstrates how to use how to use Electron's Crashpad based crashReporter for tracking native crashes with BugSplat. This sample also demonstrates BugSplat's npm package to track JavaScript/TypeScript errors in your Electron application.
git clone https://github.com/BugSplat-Git/my-electron-crasher
cd my-electron-crasher && npm i
npm start
which will run the build and upload source maps via @bugsplat/symbol-upload- Click any of the buttons in the app to test the BugSplat integration
- Navigate to BugSplat's Crashes page in your web browser
- When prompted to log in, use the username
fred@bugsplat.com
and passwordFlintstone
- Click the ID of your crash to see crash details. If everything worked, you should see something that resembles the following
For more information about getting started with Electron, check out the Quick Start Guide within the Electron documentation. For additional help using BugSplat, check out the documentation on our website or email support(at)bugsplat.com if you have any questions.
If you would like to test a crash in a Native Addon, follow the steps to configure your system for cmake-js and set the prestart
script to npm run build:all
.