Browser freezes even if breakpoint is not set in XDebug / PHPStorm

I am using xdebug to debug a php application with phpstorm. Most of the debugging time works. However, I have repeatedly observed the following behavior:

  • I click "Listen to incoming connections" enter image description here
  • Do not add breakpoint
  • Refresh page in Chrome
  • See page forever forever
  • See phpstorm not stopped at breakpoint

This is almost the same as the browser believes that it is stopped at a breakpoint, although it is not. Closing and resuming the storm solves the problem temporarily, but the problem always returns. Clicking β€œStop listening for incoming connections” allows me to load the page, but, of course, does not allow me to put breakpoints. This behavior persists even if I add a breakpoint, i.e. my breakpoint is completely ignored.

If that helps, here is my xdebug configuration and I am running php5.5, downloaded from here .

+6
source share
3 answers

An old question, but recently also started with this problem, on PHPStorm 2016.1

As shown in the figure below, in the debugging settings, unchecking the boxes fixed this problem for me.

enter image description here

+4
source

I had a similar problem several times, and I found it, usually after removing the breakpoint that she currently stopped, when starting the debugging tool. Execution will continue to stop at an already-existing breakpoint, as if it had not been deleted. The solution I found was to simply stop the debugging process in PhpStorm and then start it again, then the problem should be cleared.

+2
source

I had the exact same problem. If anyone else has this problem, try restarting Apache and MySQL and see if this fixes the problem.

0
source

Source: https://habr.com/ru/post/986160/


All Articles