diff --git a/config/console.php b/config/console.php index 299656a..ca429af 100644 --- a/config/console.php +++ b/config/console.php @@ -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;