- Phpstorm Xdebug Postman Plugin
- Phpstorm Xdebug Ssh
- Phpstorm Xdebug Postman Free
- Phpstorm Xdebug Vagrant
- Phpstorm Xdebug Postman Client
- Php Docker Xdebug Phpstorm
PhpStorm supports debugging with the two most popular tools: Xdebug and Zend Debugger. These tools can not be used at the same time because they block each other. To avoid this problem, you must update the appropriate sections of the php.ini file, as described in Configuring Xdebug. May 26, 2015 Nice and easy, this. Set the url with?XDEBUGSESSIONSTART=PHPSTORM and set a header Cookie: XDEBUGSESSION=PHPSTORM. 3 thoughts on “ Using xDebug with POSTMAN.
commented Jun 17, 2018
Phpstorm Xdebug Postman Plugin
I am trying to using it with Visual Studio Code, so I change it to XDEBUG_SESSION=XDEBUG_ECLIPSE, but it is not working. |
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. |
commented Feb 27, 2019 •
There is no need to add both, either one should work (either the QueryString parameter or the Header). |
Phpstorm Xdebug Ssh
Postman started out as an API development tool, but has developed more into, as they put it, an 'API Development Environment'.
An over-simplified description is it allows you to create and save requests to test your API. You can then save your requests as a *collection* and share or publish them for others to use.
It supports API calls for all request types, fine control over headers, common authentication methods, and long list of other features that could fill an article... but I wanted to write specifically about using Xdebug with Postman.
Phpstorm Xdebug Postman Free
How to trigger Xdebug when working with Postman
Recently, I was using Postman to troubleshoot an [API Platform](https://api-platform.com/) project and needed to trigger a Xdebug session in my IDE, [PhpStorm](https://www.jetbrains.com/phpstorm/).
Typically, I rely on a browser extension to trigger Xdebug, however Postman is its own application, so I could not rely on browser extensions.
Phpstorm Xdebug Vagrant
Fortunately, there's an easy solution: Add `XDEBUG_SESSION_START=PHPSTORM` to the query string and PHPStorm will catch the debug session as it would if you were using a browser extension.
Phpstorm Xdebug Postman Client
For example, if you are working on `http://localhost:8000/api/users`, simply append the URL with the query string mentioned above to initiate a debug session:
Php Docker Xdebug Phpstorm
Now you can set breakpoints and debug as you would if you were working in a browser.