VScode - PHP - xdebug环境安装
环境:xampp+php7.3.9
如果你不知道如何下载对应的xdebug版本
复制你的phpinfo()内容到这个网页中,自动帮你分析如何下载以及安装
https://xdebug.org/wizard

例如我的,然后跟着这个向导安装即可

[xdebug]
zend_extension = "D:\xampp\php\ext\php_xdebug-2.8.0-7.3-vc15-x86_64.dll"
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = "9001"原文:https://www.cnblogs.com/QinTO/p/11871782.html