Answer the question
In order to leave comments, you need to log in
Yii2-debug is not working. Everything is connected. What's wrong?
Hello,
Yii2 basic application,
composer has
"require-dev": {
...,
"yiisoft/yii2-debug": "*",
...
}
if (YII_ENV_DEV) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = 'yii\debug\Module';
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = 'yii\gii\Module';
}
Answer the question
In order to leave comments, you need to log in
Add $config['modules']['debug']['allowedIPs'] = ['YOUR.IP.ADDRESS'];
For all ips: $config['modules']['debug']['allowedIPs'] = ['*'];
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question