@b.taranenko/js-remote-debugger
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Installation

npm install --save @b.taranenko/js-remote-debugger
or
yarn add @b.taranenko/js-remote-debugger

Usage

  1. Go to Javascript Remote Debugger site
  2. Add workspace name (optional)
  3. Inside your project:
import remoteDebugger from '@b.taranenko/js-remote-debugger';
// app startup
remoteDebugger.initialize(YOUR_WORKSPACE_ID) // should be called BEFORE any remoteDebugger.log() calls

remoteDebugger.setUserInfo(string) // optional

// somewhere in your code
await remoteDebugger.log(
  {
    type: REGULAR | WARNING | INFO | ERROR,
    data: any,
    label: string // (optional),
  },
  (event) => void // onSuccess (optional),
  (error) => void // onError (optional),
)

Package Sidebar

Install

npm i @b.taranenko/js-remote-debugger

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

20.7 kB

Total Files

6

Last publish

Collaborators

  • b.taranenko