manadinho/rpg-fast-debugger
Composer 安装命令:
composer require manadinho/rpg-fast-debugger
包简介
Utilize FastDebugger to swiftly resolve issues through debugging.
README 文档
README
By using RPG Fast Debugger, you can expedite the process of troubleshooting PHP code and resolving issues.
First install Fast Debugger desktop application according to your operating system.
Now you are ready to receive log data from PHP projects.
download desktop application
installation
composer require manadinho/rpg-fast-debugger --dev
Usage
To use RPG Fast Debugger in your RPG-PHP project. Just go to your library/global_functions.php and place following method there. This method takes three arguments.
First argument is supposed to be array, in this array you can pass as many variables you want to inspect.
Second argument is optional. You can pass any flag (string) to it to make it easy to find your log on Fast Debugger desktop app.
Third argument is optional. If application is not running in docker you can pass the host to it. Which will be localhost in that case.
function ezFast(Array $data, $flag="", $host="host.docker.internal") { if ( RPG_LOCAL ) { return new Manadinho\RPGFastDebugger\RPGFast($host, $flag, $host); } }
Now simply use ezFast method to debug the app.
ezFast([$var1, $var2], $flag, $host);
Note
On log data you can see file name and line number from the ezFast() method is called. You can open file in VSCODE by simply clicking on file name.
manadinho/rpg-fast-debugger 适用场景与选型建议
manadinho/rpg-fast-debugger 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 02 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 manadinho/rpg-fast-debugger 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 manadinho/rpg-fast-debugger 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 28
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-20