Hello,
I am new to Yii so I apologize if this is a stupid question.
I have successfully installed yii debug via composer but I don’t see the debug toolbar when I visit my page (or I don’t know how to use it).
If I understand correctly, I should modify my config file - which I presume is my web.php file (basic/config/web.php) as follows:
<?php
$params = require(DIR . ‘/params.php’);
$config = [
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'bootstrap' => ['debug'],
'modules' => [
'debug' => [
'class' => 'yii\debug\Module',
'allowedIPs' => ['<My.IP.Here>', '127.0.0.1', '::1']
],
],
//... rest of file here ..//
I am not using a localhost view, I am visiting the live web page, but I don’t see any debug toolbar.
Thanks for your help