I use php built-in webserver to debug locally my websites.
php -S localhost:8080
Sometimes if something is wrong I have a generic 500 error in stdout and I don’t understand where is the problem.
127.0.0.1:51936 [500]: /dashboard
Is there a method to have a more descriptive error like the error.log?
EDIT:
My error was
$this->userDisplayName()
instead of
$this->zfcUserDisplayName()
In a PHTML view in my Zend Framework 2 App
SOLVED!
This was a bug of the current Zend Framework stable version (
2.0.6)I have updated my project to developer branch (
dev-master) and now it work correctly. I have a correct stacktrace for each error.Link to the issue:
https://github.com/zendframework/zf2/issues/2991
Thanks to all