PHP feature should optionally install xdebug
I personally want to use the (production) docker image for my app where I install PHP (and even composer) already, so I just need the option to install xdebug via the features flags, instead of baking this into my Dockerfile.
Would greatly expand the usability for PHP developers of devcontainers.
Thank you! R
Hello 👋
From 👇 looks like we already install xdebug with the PHP Feature. This is also baked into the mcr.microsoft.com/devcontainers/php image hosted from https://github.com/devcontainers/images/tree/main/src/php
https://github.com/devcontainers/features/blob/f91ff3cd8de5d33a52d21887963ba7166600cc44/src/php/install.sh#L186-L193
@razvanphp Are you looking for an option which controls this xdebug installation? (as opposed to installing it only when you request a version)
Let me know if I am misunderstanding your question, thanks!