猛戳 VS Code官网 下载最新版 vscode
vscode 配置php debug,以下代码放入php.ini末尾,注意要调整文件夹具体位置
zend_extension=path/to/xdebug
[XDebug]
xdebug.profiler_output_dir="D:\phpstudy_pro\Extensions\php\php7.3.4nts\xdebug"
xdebug.trace_output_dir="D:\phpstudy_pro\Extensions\php\php7.3.4nts\xdebug"
zend_extension="D:\phpstudy_pro\Extensions\php\php7.3.4nts\ext\php_xdebug.dll"
xdebug.remote_enable = 1
xdebug.remote_autostart = 1