Wordpress Docker xDebug Boilerplate
This boilerplate is to debug Wordpress websites using Docker and VSCode
Usage
Make sure Docker is running and the PHP Debug extension for VSCode is installed
- Run the docker instance
$ docker-compose up
-
Open the debugger tab on the sidebar and run
Listen for XDebug
-
Set anywhere in your PHP files a breakpoint