Skip to content
Node.js Inspector API Sugar
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml init Aug 20, 2019
README.md
index.js
package-lock.json
package.json

README.md

fiveo

Build Status

Fiveo Demonstration https://youtu.be/q9c3ZXq75Kg

A tiny JavaScript library to add some sweetness to Node's core inspector module. Adds some key missing features from SIGUSR1 handling:

  • Adding the ability to start the inspector via the SIGNAL method using ANY PORT and not just 9229. Opens up the possible debug applications and workflows tremendously.
  • STOPPING the inspector instance using the SIGUSR2 signal (will stop both sessions started with SIGUSR2 and the native SIGUSR1). It's likely that leavning the inspector listening (production environments...) is a bad idea.

Installation

$ npm install fiveo

Usage

fiveo simply needs to be required in your code.

Example:

require('fiveo');
// The rest of your code...

Environment Variables

When running through Node.js, you can set a few environment variables that will change the behavior of the debug logging:

Name Syntax Purpose Examples
INSPECT [hostname:port] Declares which host:port you want the inspector to listen on. 9230 or localhost:9230

Note: The default value for INSPECT is localhost:9229.

You can’t perform that action at this time.