Skip to content
A boilerplate to debug Wordpress using Docker on VSCode
Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.docker/cms
.vscode
README.md
docker-compose.yaml

README.md

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

  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.