Comment on Xdebug with PHP is a lifesaver
Vince@lemmy.world 10 months ago
Lol, I have my favorite file_put_contents line for debugging php, but being able to step through code would be great. What’s your setup? Last time I tried I couldn’t get xdebug working on win server + apache.
Obscerno@lemm.ee 10 months ago
I’m on Ubuntu, but from what I remember to get it working in my local environment I just:
And now I just hit F5 and select “Listen for Xdebug” and I’m ready to go.
Sigmatics@lemmy.ca 10 months ago
You just saved thousands of php developers’ lives