Hacker News new | past | comments | ask | show | jobs | submit login

I just do echo '<pre>' and print_r. Works quite well.

unless what your debugging has html in in

Very true. Then I do htmlentities or just view-source (which works surprisingly well in Chrome). Usually though it's just arrays and objects for me.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact