1.服务器用的nginx,可以访问。
2.采用vscode 里面安装了 php dug,public下正常可以调试index.php
问题application/api/../Banner.php文件下打断点,不起效果, 怎么配置launch.json
工作空间的根目录:zerg/,launch.json如下:
{
"version": "0.2.0",
"configurations": [
{
"name": "zerg",
"type": "php",
"request": "launch",
"port": 9010
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}