I have followed step by step instructions at https://medium.com/@skboadu/debugging-laravel-homestead-applications-with-phpstorm-444ccc1ddef2 to set up remote xdebug debugging on Laravel Homestead. Only difference is I have PHP 7.1 but that should not matter.
After setting the breakpoints, enabling "Listening for Debug Connections", and setting breakpoints on the home page I am unable to see anything happen?
My config for both FPM and CLI:
zend_extension = xdebug.so
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9000
xdebug.idekey="PHPSTORM"
I also have "PHPSTORM" as the IDE in Xdebug helper and nothing seems to happen. I tried setting up a log on xdebug config but nothing gets recorded.
What am I doing wrong? I followed the instructions step by step.
xdebug_break();in your code (programmatic breakpoint; will also trigger debug session) orxdebug.remote_autostart = 1in your php.ini (so it will try to debug every single request`. Hopefully that will generate the log. Then you can proceed further from there. - LazyOne