Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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