https://github.com/jpeer264/wordpress-docker-vscode-xdebug-boilerplate
A boilerplate to debug Wordpress using Docker on VSCode
https://github.com/jpeer264/wordpress-docker-vscode-xdebug-boilerplate
boilerplate docker php vscode wordpress xdebug
Last synced: 3 months ago
JSON representation
A boilerplate to debug Wordpress using Docker on VSCode
- Host: GitHub
- URL: https://github.com/jpeer264/wordpress-docker-vscode-xdebug-boilerplate
- Owner: JPeer264
- Created: 2019-08-23T12:10:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-11T11:02:06.000Z (almost 5 years ago)
- Last Synced: 2025-03-26T07:11:11.247Z (3 months ago)
- Topics: boilerplate, docker, php, vscode, wordpress, xdebug
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 20
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug) extension for VSCode is installed
1. Run the docker instance
```sh
$ docker-compose up
```2. Open http://localhost:8000
3. Open the debugger tab on the sidebar and run `Listen for XDebug`
4. Set anywhere in your PHP files a breakpoint