I have problem with xdebug in PHPstorm.
My environment is: Windows 10, XAMPP, PHPStorm 2016.2.1
I am trying to debug a PHP application, which consists of one simple script.
If the "Break at first line in PHP scripts" option (under PHP > Debug menu) is checked, it will - after webpage reload - stop at first line of the script (line 4 in the screenshot A). But when I use some navigation commands (Step out, in, over... whatever) it does nothing. No code stepping is done. Only the navigation commands buttons are greyed out (screenshot B) and I can´t do nothing more then stop the web page from loading (it is still in "loading" state, until I press the red STOP button at the left bar).
If the "Break at first line in PHP scripts" option is unchecked, it immediately runs to the state in the screenshot B (script doesn´t suspend at all). So the breakpoints are ignored.
I found some "solutions" pointing to Path mappings. But I do not use any remote server. Both Project root and Document root are set to C:\xampp\htdocs\PHP-7\ on the same machine (so I´m using localhost only).
The problem persists even if the checkbox "Use path mapping" is unchecked.
Here are some more screenshot of other configurations:
Settings > PHP > Debug
PHPStorm Project root = webserver Document root
I do not use any firewall nor antivirus.