2017 © Pedro Peláez
 

library vs-remote-debugger

Classes that can be used with 'vs-remote-debugger' Visual Studio Code extension

image

mkloubert/vs-remote-debugger

Classes that can be used with 'vs-remote-debugger' Visual Studio Code extension

  • Tuesday, November 15, 2016
  • by mkloubert
  • Repository
  • 1 Watchers
  • 1 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 7 % Grown

The README.md

vs-remote-debugger (PHP SDK)

Latest Stable Version, (*1)

Server-side PHP library for interacting with vs-remote-debugger Visual Studio Code extension, e.g., (*2)

Donate, (*3)

License

MIT license, (*4)

Install

Install the RemoteDebugger.php in your application., (*5)

A common way is to use Composer to install anything via Packagist.org:, (*6)

composer require mkloubert/vs-remote-debugger

Usage

If you look at the example code you can see how the class can be used:, (*7)

$debugger = new \MJK\Diagnostics\RemoteDebugger();
$debugger->addHost("my.remote.host.or.ip", 23979);

// compress JSON data with GZIP
// 
// activate the "gzip" plugin in your
// launch.json file in VS Code!
$debugger->JsonTransformer = function($json) {
    return @\gzencode($json);
};

// send the information you want to debug
$debugger->dbg([
    'a' => date('Y-m-d H:i:s'),
    'b' => 1,
    'c' => 2.34,
    'd' => 'Marcel K! Marcel K! Marcel K!',
    'e' => false,
    'f' => null,
    'g' => true,
]);

A possible result can be this here:, (*8)

VS Code screenshot 1, (*9)

The Versions

15/11 2016

dev-master

9999999-dev

Classes that can be used with 'vs-remote-debugger' Visual Studio Code extension

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by Marcel Joachim Kloubert

15/11 2016

2.1.0

2.1.0.0

Classes that can be used with 'vs-remote-debugger' Visual Studio Code extension

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by Marcel Joachim Kloubert

14/11 2016

2.0.1

2.0.1.0

Classes that can be used with 'vs-remote-debugger' Visual Studio Code extension

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by Marcel Joachim Kloubert

13/11 2016

2.0.0

2.0.0.0

Classes that can be used with 'vs-remote-debugger' Visual Studio Code extension

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by Marcel Joachim Kloubert