3 ms·
It's not so much the degree of difficulty, but rather that the difficulty exists in the first place. The PHP experience is absolutely horrible compared to thos
by Pacabel 13y ago
It's not so much the degree of difficulty, but rather that the difficulty exists in the first place.
The PHP experience is absolutely horrible compared to those of Java, Python, the .NET languages, and even to those of C, C++ and Objective-C.
Take Java, for example. Debugging works seamlessly in pretty much every major Java IDE, including the free ones, on pretty much every platform used for Java development. This has been the case for a decade now, if not longer. It takes basically no effort to start debugging Java code.
The .NET experience is even better, although more limited in terms of tooling. Debugging is stupidly simple and very efficient when using C# and Visual Studio. Again, it has been like this for many years now.
PHP needs to get its act together so that debugging is at least as simple as it is when using those other languages and runtimes. Anything less is just plain unacceptable today.
- thaJeztah 13y 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.
- ygra 13y agoThe 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.