lmkamyown.blogg.se

Download configure xdebug phpstorm docker
Download configure xdebug phpstorm docker






That would install it when building the container, and for configuring it we need to copy the configuration into the container, so I will create the following configuration file into a folder in my project like. To install Xdebug the following lines need to be added to the Dockerfile. The next thing is going to be installing and configuring Xdebug inside the docker container, and make it connect the host machine in that port. Waiting for debug server to connect on port 9003 Now the debugging client will be waiting for connections on our host machine, the following message will be prompted: There are thousands of articles for setting up debugging on a complex IDE like PHPStorm, but if you like minimal configurations like me, you can just download and run the minimal DBGp client from the official Xdebug website.Ī simple way of doing this would be: wget

download configure xdebug phpstorm docker

This brief post will be more like a note for my future self, to know how to setup Xdebug for debugging complex problems on PHP code that is running inside a Docker container.








Download configure xdebug phpstorm docker