mkloubert/vs-remote-debugger 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mkloubert/vs-remote-debugger

Composer 安装命令:

composer require mkloubert/vs-remote-debugger

包简介

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

README 文档

README

Latest Stable Version

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

Donate

License

MIT license

Install

Install the RemoteDebugger.php in your application.

A common way is to use Composer to install anything via Packagist.org:

composer require mkloubert/vs-remote-debugger

Usage

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

$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:

VS Code screenshot 1

统计信息

  • 总下载量: 219
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-11-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固