I want to debug an API function that handles an HTTP POST request. My PHPstorm is set up to work with the Chrome browser extension, and works fine.
When I manually create a POST request, using Postman or PHPStorm's own REST testing tool, there's no Xdebug header being sent though, and I can't break within the function handling that request.
Manually adding XDEBUG_SESSION_START="PHPSTORM" to the request header didn't help. Is there maybe another way to debug such a request that's not initiated by the browser?
Update:
I've tried cookies as well, capturing them from Chrome (see below). No difference.