Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDEBUG config vscode #111

Open
daniloaldm opened this issue Jun 8, 2020 · 0 comments
Open

XDEBUG config vscode #111

daniloaldm opened this issue Jun 8, 2020 · 0 comments

Comments

@daniloaldm
Copy link

daniloaldm commented Jun 8, 2020

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
}
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant