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 3 not working for php8.3 #848

Open
hassan-vaimo opened this issue Mar 7, 2025 · 1 comment
Open

xdebug 3 not working for php8.3 #848

hassan-vaimo opened this issue Mar 7, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@hassan-vaimo
Copy link

Version of Warden

0.14.1

Operating System and Installation Method

Ubuntu 24.04.2 LTS via Brew

Describe the Bug

Following error occurred on command bin/magento
in debug mode warden bebug

www-data@marketplace-upgrade-php-debug:/var/www/html$ bin/magento 
Xdebug: [Step Debug] Could not connect to debugging client. Tried: 172.19.0.1:9003 (fallback through xdebug.client_host/xdebug.client_port).

To Reproduce

Expected Behavior

No response

Additional context

No response

@hassan-vaimo hassan-vaimo added the bug Something isn't working label Mar 7, 2025
@hassan-vaimo
Copy link
Author

No idea why its trying to connect on 172.19.0.1 this need to address.
But I resolved this issue by adding XDEBUG_CONFIG: "client_host=host.docker.internal" in warden-env.yml file

php-debug:
   environment:
     XDEBUG_MODE: "debug,develop"
     XDEBUG_CONFIG: "client_host=host.docker.internal"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant