php.ini settings:
xdebug.mode=debug
xdebug.client_host=localhost
xdebug.client_port=9003
php.ini settings:
xdebug.mode=debug
xdebug.client_host=localhost
xdebug.client_port=9003
xdebug.discover_client_host=1
On the shell:
export XDEBUG_TRIGGER=yes
export XDEBUG_MODE=debug