【发布时间】:2020-06-25 02:14:01
【问题描述】:
当我想调试并查看断点上的数据时遇到问题,它没有被 lumen 框架击中 这是我在 vscode 上的 launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
其他信息 1.安装xdebug v2.9.2 2.vscode版本为1.43.0 3. PHP v7.3.15 4.流明v5.6 5. 两个操作系统我都用XAMPP
以前我使用 windows,在 windows 上会遇到断点,但现在迁移到 macOS 上它不起作用。 在来自另一个项目的 macOS 上,例如,使用 CodeIgniter 或只是简单的 PHP,它会遇到断点。
请帮帮我
【问题讨论】:
标签: php laravel debugging visual-studio-code lumen