I'm experimenting with Zend Debugger (Zend server), Firefox with debugger bookmarklet and PHPSTORM. Everything works well, when I'm trying to debug one request, with get or post variables. Problems arise, when there are redirects in the PHP code, and I would like to debug subsequent requests. Example: post / redirect / get controller plugin in Zend Framework 2. What the plugin does is, that after sending a request with post variables, it sends back a redirect to the user, and the same URL is called, but this time without POST variables, but the POST variables are stored in SESSION. (as seen on http://en.wikipedia.org/wiki/Post/Redirect/Get).
My problem, is that although I can debug the POST request, after that request is done, and there is the redirect, PHPSTORM does not stop at breakpoints of the NEXT request (basically debug session is done after the POST request is done, and the next request's debug isn't connected), which is where I would like to debug more.
How can I solve this situation?