0.7.7 • Published 4 years ago

@open-node/antman v0.7.7

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

@open-node/antman

Debug node.js process by client REPL on net socket and is silent.

Build status codecov

Installation

Usage

  • your node.js process code

// regist variable on agents object antman.regist('key', value, 'description');

// start debugger server antman.start(listen, secret, { expire: 30 * 60 });

  • Execute the following command then enter REPL mode to debug

  • REPL debugger mode

cli tool antman demo

antman demo

Table of Contents

Antman

Returns Antman Instance

regist

regist variable on agents

Parameters

  • key string
  • value any
  • description string? (optional, default "Undefined description text")

Returns void

start

start socket server

Parameters

  • listen string listen address,port or ip+port or sock-file-path, (optional, default 9085)
  • secret string OTP secret default null, unnecessary when secret be null (optional, default null)
  • opt object? { expire: 900 } (optional, default defaultOpt)

Returns void

antman

0.7.6

4 years ago

0.7.7

4 years ago

0.7.5

4 years ago

0.7.0

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago