Xdebug does not work

Edit on GitHub

Description

Xdebug does not work.

Solution

  1. Ensure that Xdebug is enabled in deploy.*.yml:
docker:
...
    debug:
      xdebug:
        enabled: true
  1. Ensure that IDE is listening to the port 9000.
  2. Check if the host is accessible from the container:
docker/sdk cli -x bash -c 'nc -zv ${SPRYKER_XDEBUG_HOST_IP} 9000'