猛戳 VS Code官網(wǎng) 下載最新版 vscode
vscode 配置php debug收毫,以下代碼放入php.ini末尾,注意要調(diào)整文件夾具體位置
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