Unable to debug a header() redirect in PHPStorm

I was caught out yesterday by the fact that PHPStorm would not continue a remote debugging session when it reached a header ('Location: <url>) call. A colleague using Netbeans was able to catch something which I missed as the Netbeans debugger followed the redirect.

Is there a setting I am missing somewhere?


This problem was related to xdebug not phpstorm and solved for me a while back by installing/running latest version of xdebug.


My colleague is using the same version of xdebug - 2.2.1 so this does not sound likely


Please sign in to leave a comment.