Xdebug loaded correctly in Ubuntu, but var_dump / error handling is not overloaded

I recently upgraded to Ubuntu 10.04 and, as usual, installed xdebug from the package manager. After that, I had no problem getting formatted error messages and var_dumps, but this time they do not.

I ran phpinfo () and it definitely loaded it, and I even tried to run some of the xdebug custom functions, and everything works fine, but when I do var_dump, it looks as if xdebug was not installed. Any ideas why this is happening?

+6
php xdebug
source share
1 answer

xdebug overloads the default var_dump with its own, which means that some parameters can be migrated from the default PHP configuration. In particular, make sure html_errors = On .

It is also possible that the xdebug package has added some configuration options. In particular, in this case, make sure xdebug.overload_var_dump = 1 .

+21
source share

All Articles