vscode+phpstudy+xdebug PHP代码调试

2020-06-18  本文已影响0人  吉他手_c156

安装 visual studio code 和 phpstudy

安装好 vscode 安装两个插件

配置 phpstudy 环境

设置 vscode

{
    "name": "listen for XDebug",
    "type": "php",
    "request": "launch",
    "port": "9000"
},
{
    "name": "launch currently open script",
    "type": "php",
    "request": "launch",
    "program": "${file}",
    "cmd": "${fileDirname}",
    "port": "9000"
}
上一篇下一篇

猜你喜欢

热点阅读