Example setup of Xdebug in a WordPress Docker Container This are the files for the blog https://marioyepes.com/setup-debug-php-docker-visual-studio-code/ Use them just as a refference