Comment on Xdebug with PHP is a lifesaver

<- View Parent
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:

  1. Installed the module.
  2. Added the following to the php.ini file:
    [xdebug]
    zend_extension=xdebug
    xdebug.mode = debug
    xdebug.start_with_request = yes
  1. Restarted the apache server.
  2. 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.

source
Sort:hotnewtop