node-chrome-debugger

1.0.4-b • Public • Published

How to use

npm install -D node-chrome-debugger

Demo

const SocketLog = require('node-chrome-debugger');

global.slog = new SocketLog({
	'client_id': 'michael',
	'force_client_id': 'michael',
});

slog.init();
slog.group('Success');
slog.info("Welcome to use 'node-chrome-debugger'");
slog.groupEnd()
slog.send();

param

  • [client_id]The 'client_id' must mate the 'client_id' in chrome plugin 'SocketServer'
  • [force_client_id]The config is make sure only send to some client_id
  • [send_url]This is Socket Server address,The default is 'http://localhost:1116/'

Readme

Keywords

none

Package Sidebar

Install

npm i node-chrome-debugger

Weekly Downloads

0

Version

1.0.4-b

License

ISC

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • michaelray1982