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 is not enabled #3

Open
MKodde opened this issue Jul 19, 2023 · 0 comments
Open

Xdebug is not enabled #3

MKodde opened this issue Jul 19, 2023 · 0 comments

Comments

@MKodde
Copy link
Member

MKodde commented Jul 19, 2023

Hi!

I could not help myself, and had to give the DevConf based Stepup dev-env a spin! My use case was to debug an issue we encountered in Stepup-Gateway. But that's not important now.

After a quite streamlined setup, only hindered by a missing Yubico config file and a local occupant on port 80, I had a running Stepup dev env with Gateway serving my local code 🦾

I did however noticed that Xdebug was not enabled on the gateway-dev image. After investigating, I noticed that Xdebug was installed, but not enabled.

The && docker-php-ext-enable xdebug portion of the code pasted below is not executed. Suggesting the pecl install command returned a non-zero response. Should be an easy fix by making it into a twoliner, or by using the ; separator?

RUN pecl install xdebug-2.9.0 && docker-php-ext-enable xdebug

https://github.com/OpenConext/OpenConext-BaseContainers/blob/ee516e9b3f89b5ef9da54095f64dcb0374779ab0/php72-apache2-node16-composer2/Dockerfile#L8C1-L8C62

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