Hi. I use remote xdebug configuration to debug my code. I use virtual machine with ubuntu, and my host machine has windows 10 with PhpStorm. I used to debug my projects with the same configuration without any problems, but recently, on a new pc, I faced this issue when xdebug breaks only at first line, and keys like F8, F7 (Step Over) don't work. Browser tries to load a page, but it never ends. I even disabled my firewall on Windows 10, but it seems it's not about blocking a connection by a firewall.
I reviewed similar posts here, but I didn't find anything that could help. Here is my xdebug config:
In my browser, I use bookmarklets (start, stop debug). In order to do a remote debug, I use ssh tunnel to my vagrant machine:
ssh -R 9111:127.0.0.1:9111 firstname.lastname@example.org (I run this line inside MINGW64/"Git Bash" terminal on Windows 10)
My cli php -v output here:
So, the problem you will see on my screenshots. When I set a breakpoint on a 5th line, it's not going to break, and the browser tries to load the page without success. (xdebug log is here, https://pastebin.com/aMZXTMkF )
As you can see here, path mapping is fine.
When I set a breakpoint on the first line, it actually breaks, but I cannot debug furthermore. Pressing F8, it seems, just ending the whole script, but red square "Stop" button is active.
Next screen shows what happened after I press F8:
I hope I described my issue clearly. Any ideas what I did wrong? or why xdebug is not working?