fiveo

1.0.3 • Public • Published

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:

  • 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.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i fiveo

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    4.61 kB

    Total Files

    4

    Last publish

    Collaborators

    • 667