I have recently upgraded to Ubuntu 10.04 and as usual installed xdebug from the package manager. I've never had a problem after that with getting the formatted error messages and var_dumps to show up but this time they don't.
I ran phpinfo() and it is definitely loading it, and I even tried running some of the custom xdebug functions and all is working fine, but when I do a var_dump it comes up as though xdebug isn't installed. Any ideas why this is happening?
xdebug overloads the default var_dump
function with its own, which means some settings may be carried over from the default PHP configuration. Specifically, make sure html_errors = On
.
It's also possible that the xdebug package added some non-default configuration options. Specifically in this case, make sure xdebug.overload_var_dump = 1
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With