docker-compose-laravel icon indicating copy to clipboard operation
docker-compose-laravel copied to clipboard

Added xdebug to PHP image with configuration file

Open oranges13 opened this issue 4 years ago • 1 comments

  • Added xdebug with some minimal configuration options to the Dockerfile for the app image.
  • Added an xdebug.ini file for PHP configuration that can be customized as needed
  • Added port to nginx config in the docker-compose.yml to expose xdebug connections
  • Updated README

oranges13 avatar Apr 08 '20 17:04 oranges13

@oranges13 What did you mean by this?

#To activate XDEBUG remote host must be your local IP address.
#This is not Docker machine ip address, but the ones running Phpstorm

we already have this.

xdebug.remote_host=host.docker.internal
xdebug.remote_port=9001

Do we need to include something else?

daxsis avatar Sep 21 '20 19:09 daxsis