Skip to content
Demo code for dev.to article about how to configure Xdebug with Docker and PHPStorm
PHP Dockerfile Shell
Branch: master
Clone or download
brpaz Merge pull request #2 from lucas-ziaja/patch-1
Add surrounding quotes for env var with spaces
Latest commit cef3df0 Mar 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin initial commit Sep 6, 2018
config initial commit Sep 6, 2018
docker initial commit Sep 6, 2018
public initial commit Sep 6, 2018
src initial commit Sep 6, 2018
.env.dist Add surrounding quotes for env var with spaces Nov 15, 2018
.gitignore initial commit Sep 6, 2018
Dockerfile initial commit Sep 6, 2018
README.md Update README.md Sep 6, 2018
composer.json initial commit Sep 6, 2018
composer.lock initial commit Sep 6, 2018
docker-compose.yml initial commit Sep 6, 2018
symfony.lock initial commit Sep 6, 2018

README.md

Symfony + Docker + XDebug + PHPSTORM demo

Demo code for testing configuring xdebug integration with Docker and PHPStorm in a Symfony 4 Project.

Install

  1. clone this repo
  2. docker-compose up

Open your browser on "http://localhost:8888?XDEBUG_SESSION_START=PHPSTORM"

Configuring PHPStorm and XDEBUG

  • All the required configurations are explained in this blog post.
You can’t perform that action at this time.