Skip to content

The configuration in this repository uses PHP 8.0 - Apache and MySQL 8.0 with Xdebug 3.0. Change the docker images to use the other PHP, MySQL, or server versions.

Notifications You must be signed in to change notification settings

praveendias1180/docker-xdebug-3-0-head-inject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XDebug 3.0 in Docker 4.2.0

xdebug

The configuration in this repository uses PHP 8.0 - Apache and MySQL 8.0.

Change the docker images to the the PHP, MySQL or server versions.

FROM php:8.0-apache
RUN cd /tmp/xdebug && git checkout xdebug_3_0
db:
  image: mysql:8.0
adminer:
  image: adminer:4.8.1-standalone

Pulls the latest XDebug 3.0 from GitHub. Can be connected from VSCode to step debug the developing WordPress plugin.

docker

Warning

Don't use the default configuration in production environment. Change the passwords.

Project Organization

Folder Description
.vscode VSCode files
config Configuration files (php.ini, xdebug.ini, wp-config.php, etc.)
docker Dockerfiles and docker-compose files
images Images
mysql-data MySQL data directory
wordpress-core Core WordPress files - Downloaded from wordpress.org
wp-head-inject-plugin WordPress plugin

WP Head Inject

A previous WordPress plugin project on GitHub was adopted to demonstrate the XDebug 3.0 in Docker 4.2.0

Docker Compose Up (--Build)

docker compose -f docker/wp-docker-compose.yml up --build

docker-in-action

Exposed PORTs from Dockerhost

Docker WP

About

The configuration in this repository uses PHP 8.0 - Apache and MySQL 8.0 with Xdebug 3.0. Change the docker images to use the other PHP, MySQL, or server versions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published