environment: PHP_IDE_CONFIG: 'serverName=host.docker.internal' ## to work with xdebug in docker requests XDEBUG_TRIGGER: ## to work with xdebug in docker cli scripts extra_hosts: - ...
This guide will show you how to install and configure Xdebug for remote debugging using a SSH tunnel.