Comment on Xdebug with PHP is a lifesaver
Vince@lemmy.world 1 year 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 1 year 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 1 year ago
You just saved thousands of php developers’ lives