Yii2 Debug Toolbar

Afternoon,

I have tried all options but cannot get the debug toolbar to to show up on one of my applications. Gii Does work when directed to localhost/Gii

main-local:

if (!YII_ENV_TEST) {
    // configuration adjustments for 'dev' environment
    $config['bootstrap'][] = 'debug';
    $config['modules']['debug'] = [
        'class' => 'yii\debug\Module',
        'allowedIPs' => ['*']
    ];
    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = [
    'class' => 'yii\gii\Module',
    ];
}

index:

defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');

Solved this by composer update - Guess something had crashed.

1 Like