如何在laravel 4.2中启用错误报告以进行调试 [英] how to enable error reporting in laravel 4.2 for debugging
问题描述
我刚刚使用composer
安装了新的laravel 4.2
.我故意在router.php
上犯了语法错误,以查看应用程序是否在我的浏览器屏幕上抛出了适当的异常,但是却得到了这个
I just have installed new laravel 4.2
using composer
. I make syntax mistake deliberately on my router.php
to see if an appropriate exception is thrown by the application on my browser screen, but instead a got this
糟糕,好像出了什么问题
.
我已经检查了app/config.ph
p文件,并将"debug" = false
更改为"debug" = true
,但对我来说不起作用.我仍然收到相同的消息.
i have checked the app/config.ph
p file and changed "debug" = false
to "debug" = true
and it is not worked for me. Still I am getting the same message.
是否有人知道如何配置laravel 4在屏幕上显示错误消息?
推荐答案
您需要更改app/config/local/app.php
文件-并设置'debug' => true,
You need to change app/config/local/app.php
file - and set 'debug' => true,
这篇关于如何在laravel 4.2中启用错误报告以进行调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!