XDebug for shell tasks
• Magento2
XDebug for shell tasks
Because I needed this some days ago: triggering XDEBUG when executing a shell
command like bin/magento
. This also works from inside a docker container
on a vagrant machine. In the following example 192.168.56.1 actually is my
host machine which serves as a gateway for the vagrant machine. For local debugging
remote_host needs to be set localhost.