wordpress-docker-vscode-xdebug-boilerplate
wordpress-docker-vscode-xdebug-boilerplate copied to clipboard
A boilerplate to debug Wordpress using Docker on VSCode
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 http://localhost:8000
-
Open the debugger tab on the sidebar and run
Listen for XDebug -
Set anywhere in your PHP files a breakpoint