I am using xampp and phpstorm 5.0.4.
Often, when I am stepping through a debug, then IDE loses connection to the debug session. A few seconds later, it will automatically re-run the same script and I can then start stepping through the code again. This may happen 5 or 6 times until I can actually step through all the code until the end.
Its totally random as to when the connection is lost, sometimes on the first line, sometimes 1000 lines later.
Same thing happens with both Chrome and FF.