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