Add debugger to console (#277)
This commit is contained in:
parent
da817e691a
commit
ba107f7494
@ -43,6 +43,14 @@ if (YII_ENV_DEV) {
|
||||
$config['modules']['gii'] = [
|
||||
'class' => 'yii\gii\Module',
|
||||
];
|
||||
// configuration adjustments for 'dev' environment
|
||||
// requires version `2.1.21` of yii2-debug module
|
||||
$config['bootstrap'][] = 'debug';
|
||||
$config['modules']['debug'] = [
|
||||
'class' => 'yii\debug\Module',
|
||||
// uncomment the following to add your IP if you are not connecting from localhost.
|
||||
//'allowedIPs' => ['127.0.0.1', '::1'],
|
||||
];
|
||||
}
|
||||
|
||||
return $config;
|
||||
|
Loading…
Reference in New Issue
Block a user