Skip to content
A boilerplate to debug Wordpress using Docker on VSCode
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Wordpress Docker xDebug Boilerplate

This boilerplate is to debug Wordpress websites using Docker and VSCode


Make sure Docker is running and the PHP Debug extension for VSCode is installed

  1. Run the docker instance
$ docker-compose up
  1. Open http://localhost:8000

  2. Open the debugger tab on the sidebar and run Listen for XDebug

  3. Set anywhere in your PHP files a breakpoint

You can’t perform that action at this time.