Hi @texnixe,
I tried to follow your recipe on setting up Xdebug, but unfortunately, I cannot get it to do anything in VS Code. Here is the part where I’m stuck
Next, open the notes page of the Starterkit in your browser. If all went well, you will be switched back to the VS Code editor, with the formerly empty debug panel now filled with information.
Well, I open starterkit.test/notes in my browser, but I am not switched back to VS Code and the debug panel is not filled with information. Also, my bar on the bottom is orange, not blue (or is this maybe just a version control thing?).
Any idea, why this fails for me at this point? Is there any additional info I could give you to help figure this out?
Is the first line correct? It was automatically generated by the xdebug installation like this. Also, all these lines sit at the very top of the php.ini file. Is this also correct?
Yes, I am running Laravel Valet, my launch.json looks like this:
{
// 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": 9003
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9003
}
]
}
As the article states that 9003 is the default port, I assumed I should use that one. Is it possible that Laravel Valet uses something else? How can I find out if port 9003 is used otherwise?