Fix Your Node.js Errors in Minutes
Errsole is an error logger and remote debugger for Node.js apps. With Errsole, you can view the root cause of every error, reproduce any error with just a click, and debug the server code without affecting the live app and its users.
Features
Error Logging
Errsole captures and saves all errors that occur in your app across all servers and environments.
- Centralized error logging
- Errors
- Uncaught exceptions
- 5xx server errors
- Error grouping
Request Logging
In addition to capturing errors, Errsole also captures the corresponding HTTP requests that caused the errors.
- HTTP requests that caused errors
- HTTP requests that caused uncaught exceptions
- HTTP requests with 5xx error responses
Error Reproduction
Errsole starts a sandbox app on your server, which is a clone of your live app. Within this sandbox app, you can reproduce errors and inspect every line of the code without affecting the live app.
- Reproduce errors
- Reproduce uncaught exceptions
- Reproduce 5xx server errors
- Your live app is unaffected
- Your app users are unaffected
Remote Debugging
With a feature-rich debugger directly connected to a sandbox app, you can set breakpoints, reproduce errors, inspect variables, and verify the fixes - all without affecting your live app.
- Set breakpoints
- Inspect variables
- Verify the fixes
- Your live app is unaffected
- Your app users are unaffected
Getting Started
Install
Errsole is a Node.js module. You can install this module using the npm install command:
npm install errsole
Configure
You must obtain a unique token to configure the Errsole module in your app.
Follow the steps below to generate a unique token:
- Click on the button below to go to the Errsole website.
- Create an Errsole account or sign in with an existing one.
- Create an entry for your app.
- Copy the code snippet generated for your app, which includes a unique token.
- Insert the code snippet as the first line of your app's main file.
- Deploy your app as usual. Once deployed, Errsole will start capturing errors and associating them with your app's entry in the Errsole platform.
Example
const errsole = require('errsole');
errsole.initialize({
framework: 'express',
token: '[Your Errsole Token]'
});
const express = require('express');
const app = express();
app.get('/', function (req, res) {
res.send('Hello World');
});
app.listen(3000);
Try Live Demo
Experience Errsole firsthand by troubleshooting errors in our demo app:
Documentation
For a complete product documentation, please visit our documentation page:
https://www.errsole.com/documentation/
Support
If you run into any issues, please email us at support@errsole.com.
For bug reports, please open an issue on GitHub.