Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using xDebug with POSTMAN

Set the url with ?XDEBUG_SESSION_START=PHPSTORM and set a header Cookie: XDEBUG_SESSION=PHPSTORM

@aeciolevy

This comment has been minimized.

Copy link

commented Jun 17, 2018

I am trying to using it with Visual Studio Code, so I change it to XDEBUG_SESSION=XDEBUG_ECLIPSE, but it is not working.
I checked the request from my client with the xdebug extension and I saw the Cookie on the header, but it is not working at all, Have you tried it with VS Code?

@Nikunj-acharya

This comment has been minimized.

Copy link

commented Jul 17, 2018

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.

@axelitus

This comment has been minimized.

Copy link

commented Feb 27, 2019

There is no need to add both, either one should work (either the QueryString parameter or the Header).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.