Open gkopec opened 2 months ago
I tried to use this video instructions: https://courses.m.academy/courses/set-up-magento-2-development-environment-docker/lectures/36677538 to set up Xdebug on CLI commands. But PHPStorm is showing me this:
Here is the command it produced:
"[docker-compose://[/Users/genius-dev/Workspace/projects/tip/b2c/compose.yaml, /Users/genius-dev/Workspace/projects/tip/b2c/compose.dev.yaml]:phpfpm/]:php" -dxdebug.mode=debug -dxdebug.client_port=9000 -dxdebug.client_host=docker.for.mac.localhost /var/www/html/bin/magento
I already tried to set up host.docker.internal but it didn't resolve the issue:
host.docker.internal
Xdebug works with HTTP connection without any problems but I can not force it to debug CLI commands.
Can you try running cli command using this bash file?
https://github.com/Hawksama/docker-magento/blob/master/compose/bin/php-xdebug
I tried to use this video instructions: https://courses.m.academy/courses/set-up-magento-2-development-environment-docker/lectures/36677538 to set up Xdebug on CLI commands. But PHPStorm is showing me this:
Here is the command it produced:
I already tried to set up
host.docker.internal
but it didn't resolve the issue:Xdebug works with HTTP connection without any problems but I can not force it to debug CLI commands.