docker / for-mac

Bug reports for Docker Desktop for Mac
https://www.docker.com/products/docker#/mac
2.43k stars 118 forks source link

DD 4.19 update brakes working PHP xDebug #6833

Open kdgeorgiev opened 1 year ago

kdgeorgiev commented 1 year ago

Expected behavior

Docker Desktop 4.19 to work with xdebug web. It works on Docker Dekstop 4.18

Actual behavior

When the docker desktop app is updated from 4.18 to 4.19 it breaks and it provides the following output.

2023/05/03 21:25:26 [error] 48#48: *2412 FastCGI sent in stderr: "PHP message: Xdebug: [Step Debug] Could not connect to debugging client. Tried: 192.168.65.2:9001 (through xdebug.client_host/xdebug.client_port).PHP message: Xdebug: [Step Debug] Could not connect to debugging client.

Information

Output of /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check

I will post it in the comments below.

Steps to reproduce the behavior