h1

PHP XDebug not formatting var_dump

June 11, 2010

XDebug is a great tool for PHP developers which, amnogst other things, is supposed to make var_dumps() easier to read. On a new install of Ubuntu 10.4 though I couldn’t get it to work. I finally tracked the problem down to not having html_errors=On in /etc/php5/apache2/php.ini. Set it to on, restart apache and it works fine!

27 comments

  1. Thanks, saved my day.


  2. THANK YOU! This was driving me batty. πŸ™‚


  3. Thanks, this was really useful!


  4. Thanks! This has been annoying me for a while.


  5. thanks!


  6. Thanks! Worked on PHP 5.2 on Windows


  7. THANK YOU!!!!


    • Thanks for sharing. This information is hardly anywhere to be found!


  8. Thank you, I was having a headache from looking at those damn curvy brackets…


  9. Yep, thanks! I was trying out all xdebug.* ini variables without luck πŸ™‚


  10. Nice catch! Thanks πŸ™‚


  11. This was also driving me nuts. Not sure how you narrowed it down, but thanks!


  12. Makes perfect sense, thanks for the insight


  13. thanks a lot buddy! saved me a few hours! πŸ˜‰


  14. Great, that was exactly the problem on my Debian system as well. Thanks for sharing this info!


  15. A PHP patch about this has been accepted yesterday: https://wiki.php.net/rfc/error-formatting-for-developers

    Regards.


  16. Hey man, this is super helpful. Thanks!


  17. Thank you!! so much =)


  18. Thanks, very helpful and time saving


  19. Another thanks !! Saved my day


  20. Thanks for the share … I was blaming xdebug installation


  21. Great tip, thank you!


  22. Great! Thanks for suggestion πŸ˜‰


  23. Thanks. You’ve saved my day.


  24. Thank you!!!


  25. Thank you so much, this got turned off somehow after an update on Debian. Saved my day ! πŸ™‚


  26. Woot, just what I needed, thanks!



Leave a reply to David Robinson Cancel reply