node-remote-debugger
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

vs-remote-debugger (Node.js SDK)

npm

Server-side Node.js library for interacting with vs-remote-debugger Visual Studio Code extension, e.g.

Donate

License

MIT license

Install

Run

npm install node-remote-debugger

inside your app project to install the module.

Usage

If you look at the example code you can see how the class can be used:

import { RemoteDebugger } from 'node-remote-debugger';
import * as ZLib from 'zlib';
 
let remoteDebugger = new RemoteDebugger();
remoteDebugger.addHost('localhost', 23979);
 
// compress JSON data with GZIP
// 
// activate the "gzip" plugin in your
// launch.json file in VS Code!
remoteDebugger.jsonTransformer = (buff) => {
    return ZLib.gzipSync(buff);
};
 
remoteDebugger.dbg({
    a: 11,
    b: 22,
    c: 33,
});

A possible result can be this here:

VS Code screenshot 1

/node-remote-debugger/

    Package Sidebar

    Install

    npm i node-remote-debugger

    Weekly Downloads

    3

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • mkloubert