Pregunta

I'm developping using Symfony2 in a Ubuntu Server Vagrant Box. There is no shared folders (due to weak performance), instead I configured my IDE to automaticaly send the modified files to the box by SSH.

My problem is, when I access a page which contain an error, sometimes the stack trace shows up, sometimes not, instead an Internal Server Error (error 500) occurs.

The app is still debuggable through the Symfony log but it's not as simple and comprehensive as the stack trace...

It seems not to have correlation between the error type (twig, database, code...) and the display or not of the stack trace.

Any help would be very appreciated!

¿Fue útil?

Solución

After more inquisitions, it seems that xdebug is causing the problems. After disabling it, the stack trace is working again everytime.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top