Sunday, February 20, 2011

php xdebug not formatting var_dump

I installed php 5.3 and xdebug on my ubuntu 10.10. However, the xdebug is not formatting php's var_dump().

The reason is in php.ini, by default html_errors = off. Simply change html_errors = on and you will see var_dump is formatted by xdebug.

3 comments:

rafear said...

Thanks, save my life.
It's happenning in Windows too.

k7 said...

Henry my man, you are awesome! I came here via Google, how about that?

Henry said...

Wow, that is really surprising. So you have this xdebug not formatting var_dump issue?