Hmm, it seems like it's not working on MacOS. Project start is ok, but no debug. I'l try to find correct solution for mac
Ok, I found a correct solution for mac. You should use docker.for.mac.localhost instead 192.168.1.102 in .env file for remote_host. And you must enable DBGp proxy in phpstorm setting. Use IDE key: PHPSTORM, Host: docker.for.mac.localhost.
And I have xDebug configured locally on mac, and use 9002 port for debug instead 9001.
Thank you so much! 🙏
After waisting a few hours - I think it is also worth mentioning that you must also have xdebug.remote_connect_back set to 0 - otherwise it won't initiate the connection from server php-fpm
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.