0

我无法从控制台运行。尽管一切都可以在浏览器中运行。php.ini

    xdebug.mode = debug,develop,trace
    xdebug.start_with_request = yes
    xdebug.remote_enable=1
    xdebug.client_host=localhost
    xdebug.idekey="VSCODE"
    xdebug.remote_handler="dbgp"
    xdebug.remote_port=9003
    {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Listen for XDebug",
                "type": "php",
                "request": "launch",
                "port": 9003
            },
            {
                "name": "Launch currently open script",
                "type": "php",
                "request": "launch",
                "program": "${file}",
                "cwd": "${fileDirname}",
                "port": 9003
            }
        ]
    }

php7.2 xdebug3.0.4 vscode1.51 Linux

4

0 回答 0