From 47b694616222b3aee27636154188d38cc6ece6e3 Mon Sep 17 00:00:00 2001 From: Basil Date: Wed, 7 Sep 2022 18:41:51 +0200 Subject: [PATCH] Update console.php --- config/console.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/console.php b/config/console.php index 299656afc..ca429affa 100644 --- a/config/console.php +++ b/config/console.php @@ -43,6 +43,14 @@ $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;