Symfony2 - 开发环境 [英] Symfony2 - dev environment
问题描述
我在 dev 环境中运行我的应用程序,然后我想在 prod 环境中查看它,只是将 app_dev.php
替换为 app.php
仅在 URL 中,并且有效.
I was running my application in the dev environment and then I wanted to view it in the prod environment and just replaced app_dev.php
with app.php
only in the URL and it worked.
但现在我无法回到开发环境:(
But now I can't go back to the dev enviroment :(
我的 URL 与 app_dev.php
一起使用,但是调试工具栏不见了,而且我得到的错误信息不多,而且调试起来非常困难,所以我认为我仍然处于生产环境中.
My URLs are with app_dev.php
, but the debug toolbar is missing and the errors I get don't have much information and it's relly difficult to debug them, so I think that I'm still in the prod environment.
我怎样才能找回我的工具栏和漂亮的描述性错误?我真的很想他们!
How can I get back my toolbar and the nice, descriptive erorrs? I really miss them!
推荐答案
问题是一些 css 干扰了工具栏的样式.经过一番调查解决.
The problem was that some css interfered with the style of the toolbar. Solved after some investigation.
这篇关于Symfony2 - 开发环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!