JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q25059F
  • License MIT

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

Package Exports

  • node-remote-debugger

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-remote-debugger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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