You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've tried to set up a yii2-advanced template through your docker-compose settings. It works nicely on a first try and I could access the template application through the web browser.
However, I've had difficulty configuring the XDebug support for PhpStorm. It seems the problem is: within the container bscheshir/php:7.2.5-fpm-alpine-4yii2-xdebug you cannot connect to the host machine through a dns entry like 127.0.0.1 my-fancy-servername in /etc/hosts.
To trigger the problem:
Do every step in the install.md, with the php-code directory filled with a yii2-advanced template project.
Configure a php server in PhpStorm, setting port to 8080, choosing XDebug as the debugger.
Debug the application in PhpStorm using a PHP Web Page debug setting.
The symptom: The application can be started in the browser, but the breakpoint cannot be hit.