1 回答

TA貢獻1828條經驗 獲得超6個贊
將Lunch.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,
? ? ? ? ? ? "runtimeExecutable": "/usr/bin/php.exe"
? ? ? ? }
? ? ]
}
- 1 回答
- 0 關注
- 505 瀏覽
添加回答
舉報