Comment on Xdebug with PHP is a lifesaver
Obscerno@lemm.ee 1 year agoI’m on Ubuntu, but from what I remember to get it working in my local environment I just:
- Installed the module.
- Added the following to the php.ini file:
[xdebug] zend_extension=xdebug xdebug.mode = debug xdebug.start_with_request = yes
- Restarted the apache server.
- Installed the PHP Debug extension for Visual Studio Code.
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