Docker Enable Xdebug – Debian
I have such Dockerfile for my php-container: FROM my-image/debian ARG PHP_VERSION ... ... RUN set -eux # INSTALL SURY SOURCES && buildDeps='apt-transport-https lsb-release wget' && apt-get update && apt-get install -y --no-install-recommends --no-install-suggests $buildDeps && wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg &&…