How to setup Docker + PhpStorm + xdebug on Ubuntu 16.04

Docker on Linux allows Xdebug to automatically connect back to the host system so you can just set xdebug.remote_connect_back=1 and leave out the xdebug.remote_host in your xdebug.ini.

Leave a Comment