Socket
Book a DemoInstallSign in
Socket

fiveo

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fiveo

Node Inspector API Sugar

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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:

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

Keywords

inspect

FAQs

Package last updated on 20 Aug 2019

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