Windows下debug调试台出不来
来源:7-1 开启Redis缓存以及Debug调试台_xvid

喵喵清吟
2017-04-25
我用的是Windows系统,然后phpStudy集成环境,我配置了,但是那个Debug调试台出不来,(只在我访问gii模块的时候才能看到那个调试台)并且本地配置了虚拟域名来访问项目的
配置代码这样写的,
if (YII_ENV_DEV) { // configuration adjustments for 'dev' environment $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'], // 'allowedIPs' => ['*'], ]; $config['bootstrap'][] = 'gii'; $config['modules']['gii'] = [ 'class' => 'yii\gii\Module', // uncomment the following to add your IP if you are not connecting from localhost. 'allowedIPs' => ['127.0.0.1', '::1'], // 'generators' => [ // // generator name // 'giix' => [ // //generator class // 'class' => 'veyselsahin\giix\model\Generator', // //setting for out templates // 'templates' => [ // // template name => path to template // 'rbModel' => // '@app/giiTemplates/model/default', // ] // ] // ], ]; }
麻烦看下
写回答
1回答
-
这个需要模板用到assets组件才能调出debug的模板,你看下
022017-04-27
相似问题