Skip to content

Commit

Permalink
Add debugger to console (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar authored Oct 13, 2022
1 parent da817e6 commit ba107f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit ba107f7

Please sign in to comment.