{"repo":"andreccosta/wordpress-xdebug-dockerbuild","free":true,"listed":false,"github":"https://github.com/andreccosta/wordpress-xdebug-dockerbuild","clone":"git clone https://github.com/andreccosta/wordpress-xdebug-dockerbuild.git","description":"Wordpress with Xdebug Docker image","language":"Dockerfile","stars":18,"topics":["docker","wordpress","xdebug"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"WordPress with Xdebug Docker image This image extends the official WordPress image with Xdebug installed and configured for step debugging on port 9000. Although Xdebug 3 defaults to port 9003, this image retains port 9000 for compatibility with existing users. Usage Configure Xdebug at runtime with XDEBUG MODE and XDEBUG CONFIG . For example, set discover client host=true to have Xdebug connect to the client that made the HTTP request. When client discovery is not suitable, set client host= explicitly. Docker Desktop provides host.docker.internal . On Linux with Docker Engine, map that hostname to Docker's host-gateway , as shown below. See the Xdebug settings documentation for all available options. Docker Compose Example compose.yml : Visual Studio Code Install the PHP Debug extension and configure pathMappings so VS Code can map container paths to local files. Example .vscode/launch.json : Building By default, a local build uses the latest WordPress image and stable Xdebug release: For a reproducible version combination, pass both build arguments:","default_branch":null,"files":null,"tree":[],"storefront":"/r/andreccosta","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/andreccosta/wordpress-xdebug-dockerbuild/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}