Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

errsole

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

errsole

Capture, Reproduce and Debug Node.js Errors

  • 1.4.1
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
457
decreased by-27.23%
Maintainers
1
Weekly downloads
 
Created
Source

Fix Your Node.js Errors in Minutes


npm version

:star: We appreciate your star, it helps!

Table of Contents


Features

Know the root cause of every error in your app

Errsole captures all errors raised in all your servers, along with the HTTP requests that caused them, which is all the information you need to reproduce the errors.

Reproduce any error with just a click of a button

Errsole creates a sandbox environment that is an exact replica of your live app. You can reproduce the error in the sandbox and inspect every line of the code without affecting the live app.

Debug the server code without affecting your live app

With a feature-rich debugger directly connected to the sandbox, you can set breakpoints, reproduce the error, inspect variables, identify the problem, edit code and verify the fix without affecting your live app.

Collaborate and take your productivity to the next level

You can invite your entire development team to your app and control their permissions at a granular level. You can assign errors to your developers to speed up error resolution and increase productivity.


Demo

Try Sandbox

https://github.com/errsole/errsole.js/assets/3775513/d4d06a28-a776-4031-a2c2-c15b76dde1ed


Installation

Errsole is a Node.js module. You can install this module using the npm install command:

npm install errsole

Setup Instructions

To configure the Errsole module in your app, you need a unique token.

Follow the steps below to generate a unique token:

  1. Click on the button below to go to the Errsole website.
  2. Sign up or sign in to Errsole.
  3. Create an entry for your app.
  4. Copy the code snippet generated for your app.
  5. Put the code snippet at the top of your app's main file.

Generate Token

Example
/**
 * Put the Errsole code snippet at the top of your app's main file
 */
const errsole = require('errsole');
errsole.initialize({
  framework: 'express',
  token: '[Your Errsole Token]',
  editCode: true,
  evalExpression: true
});

/**
 * Your app code starts here
 */
const express = require('express');
const app = express();

app.get('/', function (req, res) {
  res.send('Hello World');
});

app.listen(3000);

Advanced Configuration

NameTypeDescription
frameworkstringRequired. Your Node.js framework name.
tokenstringRequired. Create a unique token for your app on the Errsole website.
enableDebuggerbooleanOptional. If false, the debugger is disabled.
editCodebooleanOptional. If true, your developers have the ability to edit code in a sandbox while debugging an error.

This feature allows your developers to debug your app's code more effectively, but it also grants them the ability to run arbitrary code on your server.

You have two options: You can set it to false here to disable the code editing option for all developers, or you can set it to true here and manage the permissions of each developer on the errsole website.
evalExpressionbooleanOptional. If true, your developers have the ability to evaluate JavaScript expressions while debugging an error.

This feature allows your developers to debug your app's code more effectively, but it also grants them the ability to run arbitrary code on your server.

You have two options: You can set it to false here to disable the eval expression option for all developers, or you can set it to true here and manage the permissions of each developer on the errsole website.

Support

:star: We appreciate your star, it helps!

If you run into any issues, please email us at support@errsole.com.

For bug reports, please open an issue on GitHub.

License

MIT

Keywords

FAQs

Package last updated on 15 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc