Skip to content

XDEBUG config vscode #111

Open
Open
@daniloaldm

Description

@daniloaldm

How do you make xdebug work, I use vscode as an IDE, and whenever I try to configure it says port 9001 is in use (obviously), but should I configure it for 9000 anyway?

Note: xdebug enabled

Here is my 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
}
]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions