running a php file vs code using php debug extension code example Example: visual code debug php [XDebug] xdebug.remote_enable = 1 xdebug.remote_autostart = 1