Hacker News new | ask | show | jobs
by thaJeztah 4512 days ago
+1 if debugging is present out-of-the-box, even first-time users will have no excuse not to use proper debugging.

While installing XDebug may be no rocket-science, I've encountered too many situations that it just didn't work reliably, causing developers to revert to nasty var_dumps() for debugging.

1 comments

The only things I managed to get working reliably with xdebug were

• break at the first line in a script (very annoying when you have to debug something very deep)

• generate tracing logs (horrible to read but the best debugger replacement I had at the time)

• generate profiling logs (very helpful)

I never managed to get arbitrary breakpoints to work so I basically resorted to either traces or var_dump.