Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 6 hours 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-11T11:02:06.000Z (over 4 years ago)
- Last Synced: 2024-04-14T22:14:32.938Z (7 months ago)
- Topics: boilerplate, docker, php, vscode, wordpress, xdebug
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 19
- Watchers: 4
- 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