1,
Https://github.com/malyshev/yii-debug-toolbar.git
2, YII Framework Configuration
650) this.width=650; "src=" Http://static.oschina.net/uploads/img/201603/05212035_wSe2.png "style=" padding:0px; margin:10px 0px;border:1px solid RGB (221,221,221); Background:rgb (244,247,249); "/>
3. Change the main.php file
' Log ' =>array (' class ' = ' clogrouter ', ' Routes ' =>array (' class ' = ') ' Ext.yii-debug-toolbar.yiidebugtoolbarroute ',),//uncomment the following to show log messages on Web Pages/*array (' class ' = = ' Cweblogroute ',), */),),
4. Change the database.php file
return Array (//' connectionString ' = ' sqlite: '. DirName (__file__). ' /.. /data/testdrive.db ',//uncomment the following lines to use a MySQL database ' connectionString ' = ' Mysql:host=localhos T;dbname=yiitest ', ' emulateprepare ' = = True, ' username ' = ' root ', ' password ' = ' hadoop123 ', ' charset ' = ' UTF8 ', ' enableprofiling ' =>true, ' enableparamlogging ' =>true,);
Debug plugin for Yii framework Yii-debug-toolbar