/symfony-docker-xdebug-demo

Demo code for dev.to article about how to configure Xdebug with Docker and PHPStorm

Primary LanguagePHP

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. cp .env.dist .env
  3. 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.