How to make Xdebug (v3) work with VSCode and Docker (or Podman) on a Windows host?
When I use Xdebug with VSCode (and the PHP Debug extension) locally on my Windows host, it works fine.
But when I try to use Xdebug on a docker/podman container, it doesn’t work – it won’t stop on breakpoints, even though the connection is succesful.
How to make Xdebug (v3) work with VSCode and Docker (or Podman) on a Windows host?
When I use Xdebug with VSCode (and the PHP Debug extension) locally on my Windows host, it works fine.
But when I try to use Xdebug on a docker/podman container, it doesn’t work – it won’t stop on breakpoints, even though the connection is succesful.