博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
laravel 调试工具
阅读量:7142 次
发布时间:2019-06-29

本文共 1068 字,大约阅读时间需要 3 分钟。

hot3.png

debugbar  github 地址:      laravel 针对1.8版本

Require this package with composer:

composer require barryvdh/laravel-debugbar:~1.8

After updating composer, add the ServiceProvider to the providers array in app/config/app.php

Note for Laravel 5: If you use a catch-all/fallback route, make sure you load the Debugbar ServiceProvider before your own App ServiceProviders.

'Barryvdh\Debugbar\ServiceProvider',

If you want to use the facade to log messages, add this to your facades in app.php:

'Debugbar' => 'Barryvdh\Debugbar\Facade',

The profiler is enabled by default, if you have app.debug=true. You can override that in the config files. You can also set in your config if you want to include/exclude the vendor files also (FontAwesome, Highlight.js and jQuery). If you already use them in your site, set it to false. You can also only display the js of css vendors, by setting it to 'js' or 'css'. (Highlight.js requires both css + js, so set to true for syntax highlighting)

php artisan config:publish barryvdh/laravel-debugbar

170116_JvBA_998304.png

转载于:https://my.oschina.net/u/998304/blog/410056

你可能感兴趣的文章
在IIS8添加WCF服务支持
查看>>
(转)代码执行的效率
查看>>
第一天用MongoDB
查看>>
Linux服务器部署系列之二—MySQL篇
查看>>
STM32笔记记录3
查看>>
typedef关键字
查看>>
EntityType 'UserInfo' has no key defined. Define the key for this EntityType.
查看>>
Merge PDF File using itextsharp library
查看>>
使用微软的TFS云服务
查看>>
高效能TCP通讯基础组件Beetle.Express
查看>>
MyEclipse内存不足配置
查看>>
四舍五入网络Java保留两位小数
查看>>
MFC 循环界面假死的解决(MFC 按钮终止循环)
查看>>
详细解说九宫图比较常用的多控件布局
查看>>
程序员的出路在哪里?挣钱的机会来了续-福利来了,仿QQ界面,放出全部源码,打造创业框架及实现思路...
查看>>
浅析Android线程模型一 --- 转
查看>>
Cocos2d-x PluginX (二)增加新的Plugin
查看>>
python-django开发学习笔记四
查看>>
cocos2d-x开发记录:二,基本概念(导演,场景,层和精灵,场景切换,效果)...
查看>>
Binutils工具集中的一些比较常用的工具
查看>>