dev-master
9999999-devYii extension integrates Google Chrome extension PHP Console.
v1.0.0
1.0.0.0Yii extension integrates Google Chrome extension PHP Console.
Yii extension integrates Google Chrome extension PHP Console.
This extension integrates YII with Google Chrome extension PHP Console, (*1)
'preload' => array('log'), 'components' => array( 'log' => array( 'class' => 'CLogRouter', 'routes' => array( 'class' => 'ext.phpconsole.PhpConsoleLogRoute', /* Default options: 'isEnabled' => true, 'handleErrors' => true, 'handleExceptions' => true, 'sourcesBasePath' => $_SERVER['DOCUMENT_ROOT'], 'phpConsolePathAlias' => 'application.vendors.PhpConsole.src.PhpConsole', 'registerHelper' => true, 'serverEncoding' => null, 'headersLimit' => null, 'password' => null, 'enableSslOnlyMode' => false, 'ipMasks' => array(), 'dumperLevelLimit' => 5, 'dumperItemsCountLimit' => 100, 'dumperItemSizeLimit' => 5000, 'dumperDumpSizeLimit' => 500000, 'dumperDetectCallbacks' => true, 'detectDumpTraceAndSource' => true, 'isEvalEnabled' => false, */ ) ) )
Try this code in some controller:, (*2)
// log using Yii methods Yii::log('There is some debug message'); // log using PHP Console debug method PC::debug('Short way to debug directly in PHP Console', 'some,debug,tags'); echo $undefinedVar;
Yii extension integrates Google Chrome extension PHP Console.
Yii extension integrates Google Chrome extension PHP Console.