I’m using xdebug to debug a php application with phpstorm. Most of the time debugging works. However, I have repeatedly observed the following behavior:
- I click “Listen for incoming connections”
- Do not add a breakpoint
- Reload the page in Chrome
- See that the page hangs forever
- See that phpstorm is not stopped on a breakpoint
It’s almost as the the browser thinks it is stopped on a breakpoint, even though it’s not. Closing and reopening storm solves the problem temporarily, but the problem always returns. Clicking “stop listening for incoming connections” allows the page to load, but of course prevents me from putting in breakpoints. This behavior persists even if I do add a breakpoint, which is to say, my breakpoint is completely ignored.
Old question, but recently also started having this issue, on PHPStorm 2016.1
As per image below, under debug settings, unchecking these fixed the issue for me.
I’ve had a similar issue multiple times and I have found it generally occurs after removing a breakpoint which it is currently stopped on while running the debug tool. The execution will continue stopping at the no longer existent break point as though it wasn’t removed. The solution I have found is simply to stop the debugging process within PhpStorm and to then start it again, the problem should then be cleared.
I had the same exact issue. If anyone else has this issue, try restarting Apache and MySQL and see if that fixes the issue.