Make Chrome display pages even on 500 or 404 codes (behave like Firefox)
firefox, google-chrome, php, symfony
Solution
Under the monolog config in your config_dev.yml, remove the firephp/chromephp sections.
Problem
We're developing a new site in Symfony. When Symfony encounters an error, such as a "no route found", and debug is set to true, it not only outputs a 404 code, it actually shows the error on the page. Firefox displays what the server returned, but Chrome does not. For my no route found example: Firefox shows this: https://i.stack.imgur.com/84Fb5.png Chrome shows this: https://i.stack.imgur.com/qCDOm.png Is there a way to get Chrome to behave like Firefox under these conditions? Edit: There seems to be some questioning of what's actually happening. I don't know what's causing this, otherwise I would fix it. Here's what I see in the Chrome network inspector (note that this image is for a 500 error, but the same happens with 404's): https://i.stack.imgur.com/uDWlU.png Notice the content length of zero. If I go to the exact same URL through Firefox (same server, everything), it shows the actual Symfony error.