PHP xdebug PHP docker image with xdebug module. Build docker build --pull --build-arg PHP_VERSION=8.1-cli --build-arg XDEBUG_VERSION=3.3.2 --tag php-xdebug:8.1 .