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

Can't make xdebug works #595

Closed
nverhoye opened this issue Dec 16, 2021 · 4 comments
Closed

Can't make xdebug works #595

nverhoye opened this issue Dec 16, 2021 · 4 comments

Comments

@nverhoye
Copy link

Hello,

I'm using lastest version of docker-magento repository (thought bin/update)
Usually I don't have any worries, but for some reasons that I don't know xdebug stopped working.
My breaking point are simply ignored now.

Here is my xdebug_info :
Capture d’écran 2021-12-16 à 22 14 32

Following line is on /etc/host on my phpfpm containers
172.17.0.1 host.docker.internal

I have message on phpstorm panel : "Waiting for incoming connection with ide key 'PHPSTORM'"
I'm using macos.
My port 9003 is configurated on phpstorm
And also debug confiration host on phpstorm

I tried to do :
docker-compose down
bin/update
bin/start
bin/xdebug enable

Please, could you help me ?
What information do you need ?

@markshust
Copy link
Owner

@nverhoye I just made a quick update to the docker-compose.yml file above. I believe the host.docker.internal hostname was causing issues with Xdebug working within non-Linux environments.

Can you run bin/update, confirm Xdebug is all enabled and try again?

@nverhoye
Copy link
Author

@markshust works better now. Thanks !

@nverhoye
Copy link
Author

Hello,

Have there been any updates recently?
I do regularly bin/update and it seems that xdebug does'nt work anymore.

This time i'm using Ubuntu.

I tried to do :
docker-compose down
bin/update
bin/start
bin/xdebug enable

@nverhoye nverhoye reopened this Jan 19, 2022
@nverhoye
Copy link
Author

Reinstalling project resolved issue 😕

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

2 participants