Debugging from the REST API Client in PhpStorm 11

New in PhpStorm 11, you can now step-debug your REST API right from within the REST API test tool, without ever leaving your IDE. It’s live in the current EAP and planned for release in Q2 2016.

The REST API test tool has been bundled with PhpStorm for a long time, but you’ve never been able to easily initiate a step-debugging session until now.

PhpStorm 11 has a brand new button in the API test tool that sends the HTTP request with the right cookie automatically set, so step debugging your API has never been easier.

debug rest api

To use the debugger, just make sure Xdebug is configured and enabled. Now you can use the new “Submit request in debug mode” button to easily send the request and initiate the debugger.

Once the request is set and the breakpoint is hit, you can debug your API endpoint in exactly the same way you can debug a traditional HTTP request, or command line script.


– Gary and the PhpStorm Team


The Drive to Develop

About Gary Hockin

Gary Hockin has been creating code to power web applications for 15 years, the last three of them at an extraordinary level. He is handsome, talented, funny and articulate, and also extremely modest. Gary is a valued contributor to Zend Framework 2 and is a member of the community review team. He's married and has two wonderful children, and when he's not coding, writing about code, speaking about code or reading about code, he can usually be found in the pub playing pool.
This entry was posted in Cool Feature, Early Access Program, PhpStorm and tagged , , . Bookmark the permalink.