News for hackers. Stuff that matters.
Re:How to profile your PHP applications with Xdebug by CSSer on Saturday May 07, 2022 @02:19PM (#31297086)
I concur on 1. I feel like this could be extended to every debug tool I’ve worked with, sadly. It’s hard to beat console.log (and associated methods) in JS or error_log and tail -f in PHP. The debugging tools always seem to add just enough overhead to not be worth the trouble in most cases. Yet there’s always someone writing a new article about how anyone who’s not using one is stuck in the dark ages for the clicks.
Re:How to profile your PHP applications with Xdebug by djbusby on Saturday May 07, 2022 @02:59PM (#31297453)
Might want to look at syslog() vs calls to error_log().