문제

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!

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top