XDebug:Windows + Docker + PHPStorm

我的操作系统是Windows 10.我通过boot2docker映像运行Docker。 我使用的IDE是PHPStorm。 我想要做的就是用XDebug进行debugging,但是我没有得到它的运行。 我search了网页,并尝试了我find的例子,但没有任何帮助。 有没有人可以帮我吗?

编辑:Nginx运行在服务器上。

当前设置: xdebug.ini

zend_extension=xdebug.so xdebug.remote_enable=1 xdebug.remote_autostart=0 xdebug.remote_connect_back=1 xdebug.remote_port=9000 xdebug.idekey=PhpStorm 

PhpStorm服务器主机是相同的IP我连接SSH。 path映射已启用。 debugging器是Xdebug 我已经试过了一个特定的DBPg代理,但没有成功

我知道了。 我只是忘了转发端口。 我必须通过docker run -d -p 80:80 -p 9000:9000 -v /mnt/www/foo:/var/www/foo foo运行容器。