Phpstorm remote development docker

broken image

Within the Dockerfile we install and enable Xdebug using pecl and docker-php-ext-enable.

broken image
broken image

Therefore, we create an own Docker image based on the PHP/Apache image. Xdebug runs within the PHP container and connects to the Xdebug server controlled by IntelliJ IDEA Ultimate/PhpStorm Install and Configure Xdebug in the PHP Docker Containerįirst of all, we need to install and activate Xdebug in our PHP container. But how can we debug the PHP code running in the container? In this post, I show you how to configure Xdebug in a PHP container and configure IntelliJ IDEA Ultimate or PhpStorm for remote debugging. Running PHP and an Apache in a Docker container is very handy for local development.

broken image

Engineering Management, Java Ecosystem, Kotlin, Sociology of Software Development Debugging within a PHP Docker Container using IDEA/PhpStorm and Xdebug

broken image