Set the url with ?XDEBUG_SESSION_START=PHPSTORM and set a header Cookie: XDEBUG_SESSION=PHPSTORM
Created
December 6, 2016 15:04
-
-
Save yannbertrand/305df17ac8a70c77c1a85e2f873fdfa5 to your computer and use it in GitHub Desktop.
Using xDebug with POSTMAN
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 😄