PhpOnWindows
PhpOnWindows copied to clipboard
PHP Inbuilt Server doesn't hit breakpoints
When using the inbuilt server option from PHP Storm, I can't hit breakpoints in my code.
This works if I switch PHPStorm to use the native Windows PHP version, but then I have all the weirdness of running PHP in Windows, which is why I found your great project.
Are you using Windows Subsystem for Linux - WSL? If yes you should use webserver in WSL apache, nginx etc. In that case configure debug in PHPStorm as for remote server as WSL acts as virtual machine (almost).
If you try to debug console or unit tests try my fork https://github.com/ruslan-pelepets/PhpOnWindows as it has improvements.
Yes I am using WSL, but I can use the inbuilt server when using PHP.exe or running PHP in a virtual machine, so I expected the same behaviour through this functionality.
A lot has changed since opening this issue - closing now to tidy up.