These are the files needed for setting up the Docker wp environment for wordpress-develop with xDebug active on Apple Silicon. Currently Docker wp runs
- PHP 7.4.33
- xDebug 3.1.6
I created and placed the custom-php-config.ini
file one level above wordpress-develop
.
The docker-compose.override.yml
is at the root level of wordpress-develop
.
Then simply follow the instructions in the https://github.com/WordPress/wordpress-develop/blob/trunk/README.md
The launch.json
is for VSCode. Mine is set in my settings.json
so it is available in all the time. The launch.json
contains all the settings I have and use depending on the WordPress installation and the xDebug version installed.
Thanks @costdev for the help.
You will need to env:stop and env:reset if switching between different clones. Only one may be active at a time and must be removed before starting a new one.