定制 gdv/livedebug 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

gdv/livedebug

最新稳定版本:v1.0.2

Composer 安装命令:

composer require gdv/livedebug

包简介

PHP Library to use with livedebug docker image

README 文档

README

Use in conjunction with guillaumedevreese/livedebug docker image. This allows you to debug PHP code without XDEBUG, print Kint output to external UI without stopping the process execution.

Installation

composer require --dev gdv/livedebug

Configuration

Available environment variables:

  • LIVEDEBUG_INTERNAL_PORT: Internal exposed port to listen on (default: 3030)
  • LIVEDEBUG_INTERNAL_HOST: Host to send data on (default: host.docker.internal)
  • LIVEDEBUG_INTERNAL_PROTOCOL: Protocol to use (default: http)

Usage

<?php
use Gdv\Livedebug;

...
LD::$depth_limit = 2; // default set to 3
LD::dump($var);
LD::dump($var1, $var2, $var3);
...

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-17