Debugging within a PHP Docker Container using IDEA/PhpStorm and Xdebug
Posted on Aug 15, 2017
Running PHP and an Apache in a Docker container is very handy for local development. 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.