|
%!s(int64=8) %!d(string=hai) anos | |
---|---|---|
.. | ||
assets | %!s(int64=8) %!d(string=hai) anos | |
messages | %!s(int64=8) %!d(string=hai) anos | |
panels | %!s(int64=8) %!d(string=hai) anos | |
views | %!s(int64=8) %!d(string=hai) anos | |
widgets | %!s(int64=8) %!d(string=hai) anos | |
README.markdown | %!s(int64=8) %!d(string=hai) anos | |
YiiDebug.php | %!s(int64=8) %!d(string=hai) anos | |
YiiDebugComponentProxy.php | %!s(int64=8) %!d(string=hai) anos | |
YiiDebugController.php | %!s(int64=8) %!d(string=hai) anos | |
YiiDebugToolbar.php | %!s(int64=8) %!d(string=hai) anos | |
YiiDebugToolbarPanel.php | %!s(int64=8) %!d(string=hai) anos | |
YiiDebugToolbarRoute.php | %!s(int64=8) %!d(string=hai) anos | |
YiiDebugViewHelper.php | %!s(int64=8) %!d(string=hai) anos | |
YiiDebugViewRenderer.php | %!s(int64=8) %!d(string=hai) anos |
The Yii Debug Toolbar is a configurable set of panels that display various debug information about the current request/response and when clicked, display more details about the panel's content.
It is a ported to PHP famous Django Debug Toolbar.
Currently, the following panels have been written and are working:
Extract the yii-debug-toolbar from archive under protected/extensions
For use yii-debug-toolbar need to specify new route
in log
component:
<?php
//...
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'ext.yii-debug-toolbar.YiiDebugToolbarRoute',
// Access is restricted by default to the localhost
//'ipFilters'=>array('127.0.0.1','192.168.1.*', 88.23.23.0/24),
),
),
),
ipFilters
setting. If you are working locally this option not required.Enable Profiling and ParamLogging for all used DB connections.
<?php
//...
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=test',
//...
'enableProfiling'=>true,
'enableParamLogging'=>true,
),
See: issues