Answer the question
In order to leave comments, you need to log in
Why is the Yii2 debug panel not showing up?
Registered in the config
return [
'bootstrap' => ['debug'],
'modules' => [
'debug' => [
'class' => 'yii\debug\Module',
'allowedIPs' => ['*'] // пробовал и совсем удалять эту строку
],
]
];
Answer the question
In order to leave comments, you need to log in
Good morning.
In config/web.php
if (YII_ENV_DEV) {
// configuration adjustments for 'dev' environment
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = [
'class' => 'yii\debug\Module',
];
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
];
}
'modules' => [
'debug' => [
'class' => 'yii\debug\Module',
'allowedIPs' => ['*'] // пробовал и совсем удалять эту строку
],
]
check the routing, there is ajax loading, so stupidly from the urlManager settings may not work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question