If I disable the debugging there is no error at all.ĭoes someone has any ideas about this problem? I've searched all PHPStorm documentation but to no avail. I really have no idea why I'm getting this error. Now if I click on the "Start Listening for PHP Debug Connections" (for zero-config debugging) and try the debug again, I'll get instantly a 502 Bad Gateway. If I click on "Debug this page" (doesn't matter if I use the marklets or the Chrome extension) the site loades a minute or so and I'm getting a 504 Gateway Timeout from nginx. Now with the config out of the way here is my problem with the debugging: I've configured zDebug for Chrome this way: I followed the instructions as follows: Validated that Xdebug is active by sail php -v. I have Ubuntu 18.04 and a fresh installation of Laravel 8. New server added: 192.168.1.40:80 - Zend Debuggerįile/Directory: \192.168.1.50\shared\www\myProjectĪbsolute path on the server: /shared/www/myProject &0183 &32 Run Xdebug on Laravel 8 with Sail & PhpStorm on Ubuntu.
![phpstorm 502 bad gateway phpstorm 502 bad gateway](https://i.ytimg.com/vi/qiUFrNv2AGU/maxresdefault.jpg)
Now my PHPStorm settings: File -> Settings -> Languages & Frameworks -> PHP
![phpstorm 502 bad gateway phpstorm 502 bad gateway](https://imgs.developpaper.com/imgs/1888967-20200111095417006-1249947267.jpg)