title: How to debug 500 Error in Symfony 2 and above
body: <p>I am struggling with Symfony 2 error reporting because I can't find out what really is happing when a 500 Error is triggered.</p>
  
  <p>I have XDebug correctly installed, but it seems like Symfony rules everything.</p>
  
  <p>The custom pages just says:</p>
  
  <pre><code>Oops! An Error Occurred
  
  The server returned a "500 Internal Server Error".
  
  Something is broken. Please e-mail us at [email] and let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
  </code></pre>
  
  <p>That's pretty much funny! Something is broken, but, the fact is that I need to fix my code, but can't know what or where it is the problem! And sure, If I send an email for the Symfony team will they be able to solve my problem once I not even know what to say them?</p>
  
  <p>Some clue on what I am missing here?</p>