Skip to content

Add Xdebug to the Docker container image #2933

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

Open
sgehrig opened this issue Mar 18, 2025 · 0 comments
Open

Add Xdebug to the Docker container image #2933

sgehrig opened this issue Mar 18, 2025 · 0 comments

Comments

@sgehrig
Copy link

sgehrig commented Mar 18, 2025

Feature Request

I think it might be a good idea to add Xdebug to the Docker container image (using the Dockerfile) that is distributed with the repository. This will allow to start debugging issues immediately when contributing to the library.

The enhancement is rather ease and only requires two more lines in the Dockerfile:

-   && docker-php-ext-enable mongodb
+   && docker-php-ext-enable mongodb \
+   && pecl install xdebug \
+   && docker-php-ext-enable xdebug
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