Tag: xdebug docker

Docker上的Xdebug不支持PhpStorm

我在Docker中很新。 我无法将Docker容器上的xdebug连接到PhpStorm IDE。 我花了很多时间去寻找如何解决负面结果。 我很确定我尝试了所有我find的东西,并find更多的解决scheme。 我知道这里有很多文字,但我希望有人能得到它:D 我的PhpStorm是v 8.0.3 我的实际docker组成snip: ports: – "8081:8081" – "80:80" – "443:443" expose: – "9001" links: – magedb_m1 environment: XDEBUG_CONFIG: "remote_host=172.17.0.1" PHP_IDE_CONFIG: "serverName=docker" XDEBUG_CONFIG: "idekey=PHPSTORM" PHP_XDEBUG_ENABLED: 1 volumes: – ./project/:/var/www/html/ xdebug.ini: [xdebug] zend_extension=xdebug.so xdebug.idkey = "PHPSTORM" xdebug.default_enable=1 xdebug.remote_enable=1 xdebug.remote_handler=dbgp ; This is the default Docker gateway xdebug.remote_host=172.17.0.1 xdebug.remote_port=9001 xdebug.remote_autostart=1 xdebug.remote_connect_back=0 PhpStorm […]