【发布时间】:2019-06-21 23:23:12
【问题描述】:
我遇到了多个容器/跨容器 Xdebug PhpStorm 通信的问题。
我有一个包含 10 个容器的设置,它们相互通信,但似乎无法让 Xdebug 在所有容器上运行。
例如: 容器 A 向容器 B 发出请求,容器 B 向容器 C 发出请求。 如何让断点在 Container B 和 C 处停止?
目前我超时,没有 Xdebug 他们可以毫无问题地通信。
作为旁注,跨容器通信正在工作,它们在同一个网络中,Xdebug 在每个容器上独立工作。
这是我所有容器中的 Xdebug 配置:
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
【问题讨论】:
标签: php docker debugging containers xdebug