Set the url with ?XDEBUG_SESSION_START=PHPSTORM and set a header Cookie: XDEBUG_SESSION=PHPSTORM
-
-
Save yannbertrand/305df17ac8a70c77c1a85e2f873fdfa5 to your computer and use it in GitHub Desktop.
There is no need to add both, either one should work (either the QueryString parameter or the Header).
I know this is super old, but the answer is XDEBUG_SESSION=VSCODE
@ronaldroe thank you for the answer, it's work!
I know this is super old, but the answer is XDEBUG_SESSION=VSCODE
it might be on old thread but it sure helps to have it up to date (it is pretty high in the google results). Saved me a lot of time looking around. Thanks 😄
I know this is super old, but the answer is XDEBUG_SESSION=VSCODE
it might be on old thread but it sure helps to have it up to date (it is pretty high in the google results). Saved me a lot of time looking around. Thanks smile
mine still doesnt work, may you share launch config in vscode for the xdebug ?
Here it is:
{
// 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,
"pathMappings": {
"/var/www/html": "${workspaceFolder}"
}
}
]
}
Please, change the pathMappings in according with your environment.
Same here. Trying with XDEBUG_SESSION_START=XDEBUG_ECLIPSE as GET parameter and XDEBUG_SESSION=XDEBUG_ECLIPSE as Cookie, but not working in chrome or in postman.