Xdebug Docker跨集装箱通信设置

I'm having an issue with multiple container / cross container Xdebug PhpStorm communication.

I have a setup with 10 containers who talk to one another but can't seem to get Xdebug working across all of them.

As an example: Container A makes a request to Container B which makes a request to Container C. How do I get breakpoints to stop at Container B and C ?

At the moment I get a timeout, without Xdebug they communicate without a problem.

As a side note Cross container communication is working they are in the same network and Xdebug works independently fine on each container.

This is the Xdebug config in all of my containers:

xdebug.remote_port=9006
xdebug.remote_autostart=1
xdebug.remote_enable=1  
xdebug.remote_connect_back=0 
xdebug.remote_host=10.254.254.254 
xdebug.idekey=PHPSTORM
查看全部
dongpochi9741
dongpochi9741
2019/06/21 23:23
  • debugging
  • php
  • containers
  • xdebug
  • docker
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复