You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you tried apt-get install php-xdebug? I don't know if there's anything different about the vagrant that might cause it to have problems, but installing that package should place the .ini files so perhaps that will just work:
I was hoping it can be installed by default in the image. So we can use the config settings in /data/web/public/.user.ini as described in the hypernode-vagrant documentation. I'll probably can get it to work with a manual installation and configuration, but it would be cool to have this feature out-of-the-box.
Not a huge issue, but since it seems to be supported on the vagrant image I was hoping it could be integrated in the docker image.
Hi Bonno, I purposely did not put this in the default image because I think for most use-cases this would not be needed and creating a Dockerfile that adds this if you need it would be trivial. But I am a proponent of good defaults, so perhaps this is something we might consider in the future. But for now I suggest if you want to use xdebug with this Docker to create a Dockerfile that installs the package. Perhaps that would be something that you could document in this repo for other users?
Activity
vdloo commentedon Jul 4, 2018
Have you tried
apt-get install php-xdebug? I don't know if there's anything different about the vagrant that might cause it to have problems, but installing that package should place the .ini files so perhaps that will just work:Bonno commentedon Jul 4, 2018
I was hoping it can be installed by default in the image. So we can use the config settings in /data/web/public/.user.ini as described in the hypernode-vagrant documentation. I'll probably can get it to work with a manual installation and configuration, but it would be cool to have this feature out-of-the-box.
Not a huge issue, but since it seems to be supported on the vagrant image I was hoping it could be integrated in the docker image.
vdloo commentedon Jul 4, 2018
Hi Bonno, I purposely did not put this in the default image because I think for most use-cases this would not be needed and creating a Dockerfile that adds this if you need it would be trivial. But I am a proponent of good defaults, so perhaps this is something we might consider in the future. But for now I suggest if you want to use xdebug with this Docker to create a Dockerfile that installs the package. Perhaps that would be something that you could document in this repo for other users?
Bonno commentedon Jul 4, 2018
Thanks for your answers. The Dockerfile needed to make this work only needs to contain the following RUN command.
RUN apt-get update && apt-get install -y php-xdebugThen you can set the xdebug configuration in /data/web/public/.user.ini