I can confirm this is still an issue with beta13.1. Using jbrinley’s loopback workaround does work so at least this is possible.
As stated you need to run on your host:
sudo ifconfig lo0 alias 10.254.254.254
Then in your php.ini:
xdebug.remote_host=10.254.254.254
xdebug.remote_connect_back = 0
The remote_connect_back must be disabled for remote_host to be used.
OS X: version 10.11.5 (build: 15F34)
Docker.app: version v1.11.1-beta13.1
Running diagnostic tests:
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x
Docker logs are being collected into /tmp/20160531-112333.tar.gz
Most specific failure is: No error was detected
Your unique id is: 80AF3F1D-B9D8-4F5A-A209-BEA8649FE954