Laravel 4调试不工作 [英] Laravel 4 debugging not working

查看:151
本文介绍了Laravel 4调试不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是非常令人沮丧的,我在应用程序配置中'debug'=> true,但是所有的Laravel都显示出来是糟糕,看起来像是出了问题。对于编码的爱,有人知道如何调试工作吗?

解决方案

我遇到了同样的问题。 Laravel只显示哎呀,看起来好像出了问题。这行并没有显示实际的错误。然后我检查了app / config / app.php文件并更改了debug=> false to debug=>真的,它的工作完美。



你说你也做了,仍然没有工作。我建议你运行一个 composer update 命令,然后再次尝试


It's extremely frustrating that I have 'debug' => true in the app config but all Laravel is showing is "Whoops, looks like something went wrong." For the love of coding, does somebody know how to get debugging to work?

解决方案

I have faced the same problem. Laravel was showing only "Whoops, looks like something went wrong." this line and not showing the actual error.Then I have checked the app/config/app.php file and changed "debug" => false to "debug" => true and it worked perfectly.

You said that you have also done it and still not working.I suggest you to run a composer update command for your project and then try again

这篇关于Laravel 4调试不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆