[xdebug] xdebug.mode = debug xdebug.start_with_request = yes xdebug.client_host = host.docker.internal STEP2: Install xdebug in docker file and copy php.ini to docker RUN pecl install xdebug-3.1.5 RUN ...