Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDebug in CLI not working ? #70

Closed
numerogeek opened this issue Sep 3, 2020 · 1 comment
Closed

XDebug in CLI not working ? #70

numerogeek opened this issue Sep 3, 2020 · 1 comment

Comments

@numerogeek
Copy link

numerogeek commented Sep 3, 2020

Hello,

I have setup xdebug according to the documentation, but I can't make it working in CLI using:
docker-compose exec php php bin/console make:command
I have check the option "Break at the first line of code"

It's working for the web, so I think the setup is correct, but not in CLI.
I don't understand what I'm missing.

Can anyone help me please ?
I'm using Ubuntu & PHPStorm, if it worth mentionning.

Thank you !

@numerogeek numerogeek changed the title XDebug in CLI ? XDebug in CLI not working ? Sep 3, 2020
@numerogeek
Copy link
Author

Ok, I had to add remote_host=172.17.0.1 in the xdebug config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant