Skip to content

Instantly share code, notes, and snippets.

View ctorresr's full-sized avatar

Camilo Torres ctorresr

  • Jacksonville, Florida
View GitHub Profile
@ctorresr
ctorresr / README.md
Created June 13, 2018 20:12 — forked from manuelselbach/README.md
xdebug docker on macOS with PhpStorm

Use xdebug with docker on macOS and PhpStorm

To use xdebug with macOS and docker is quite, let´s call it tricky ;)

The following steps need to be proceed to get it working:

  1. use the config from the xdebug.ini wihtin your docker web container. Important: set remote_connect_back to off
  2. set up an alias for your local interface (lo)

To bring up the alias at startup, you can either (sudo may be needed here):