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?

0
2 comments
Avatar
Permanently deleted user

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

0

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

0

Please sign in to leave a comment.