24 lines
629 B
Markdown
24 lines
629 B
Markdown
# webman-tech/debugbar
|
|
|
|
[PHP Debugbar](http://phpdebugbar.com/) for webman
|
|
|
|
## 安装
|
|
|
|
```bash
|
|
composer require webman-tech/debugbar --dev
|
|
```
|
|
|
|
## 使用
|
|
|
|
安装默认开启(仅 debug 模式下启用),直接访问路由 `{Host}/_debugbar/sample` 即可看到信息
|
|
|
|
如果是 api 应用,其他接口调用后,可以在 debugbar 的历史记录下看到接口相关的请求
|
|
|
|
## 效果图
|
|
|
|
![截图](https://www.workerman.net/upload/img/20220717/1762d40f967190.png)
|
|
|
|
![截图](https://www.workerman.net/upload/img/20220717/1762d40f897d23.png)
|
|
|
|
![截图](https://www.workerman.net/upload/img/20220717/1762d40f5fce87.png)
|