how to debug in visual studio code php code example Example: visual code debug php [XDebug] xdebug.remote_enable = 1 xdebug.remote_autostart = 1