To enable these features, add these lines to your configuration file to enable the debug module:
To enable these features, add these lines to your configuration file to enable the debug module:
```php
```php
'preload'=>['debug'],
'bootstrap'=>['debug'],
'modules'=>[
'modules'=>[
'debug'=>'yii\debug\Module',
'debug'=>'yii\debug\Module',
]
]
...
@@ -32,7 +32,7 @@ To enable these features, add these lines to your configuration file to enable t
...
@@ -32,7 +32,7 @@ To enable these features, add these lines to your configuration file to enable t
By default, the debug module only works when browsing the website from localhost. If you want to use it on a remote (staging) server, add the parameter `allowedIPs` to the configuration to whitelist your IP:
By default, the debug module only works when browsing the website from localhost. If you want to use it on a remote (staging) server, add the parameter `allowedIPs` to the configuration to whitelist your IP:
```php
```php
'preload'=>['debug'],
'bootstrap'=>['debug'],
'modules'=>[
'modules'=>[
'debug'=>[
'debug'=>[
'class'=>'yii\debug\Module',
'class'=>'yii\debug\Module',
...
@@ -169,7 +169,7 @@ Now it's time to tell the debugger to use the new panel. In `config/web.php`, th
...
@@ -169,7 +169,7 @@ Now it's time to tell the debugger to use the new panel. In `config/web.php`, th
```php
```php
if(YII_ENV_DEV){
if(YII_ENV_DEV){
// configuration adjustments for 'dev' environment
// configuration adjustments for 'dev' environment
- Chg: Removed `yii\grid\Column::getDataCellContent()` and renamed `yii\grid\DataColumn::getDataCellContent()` to `yii\grid\DataColumn::getDataCellValue()` (cebe)
- Chg: Removed `yii\grid\Column::getDataCellContent()` and renamed `yii\grid\DataColumn::getDataCellContent()` to `yii\grid\DataColumn::getDataCellValue()` (cebe)
- Chg: `yii\log\Logger` is split into `yii\log\Logger` and `yii\log\Dispatcher`. (qiangxue)
- Chg: `yii\log\Logger` is split into `yii\log\Logger` and `yii\log\Dispatcher`. (qiangxue)
- Chg: Moved all filter classes to namespace `yii\filters` (qiangxue)
- Chg: Moved all filter classes to namespace `yii\filters` (qiangxue)
- Chg: Removed `Application::preload` in favor of `Application::bootstrap` (qiangxue)