hughbris / cadaver

Docker image build files for running Grav CMS under Caddy webserver
MIT License
1 stars 0 forks source link

Add xdebug support #4

Open hughbris opened 1 year ago

hughbris commented 1 year ago

I have never used Xdebug, don't even know how to capitalise it. Would be handy in development environments I'm sure.

I've looked at how to install this. The blocker is how to manage this variant in the docker image, as a tag I guess. Might require a build script to manage option permutations. Look at similar images for implementation clues.

hughbris commented 1 year ago

Added the tag "Help wanted" just now. I have a local branch where Xdebug runs, I just have no idea how to connect to its step debugger or read its profiler logs with Webgrind or similar. This is about the fourth time I've picked it up now and thrown my hands up in disgust. Hours each time, I tell you! Please fellow developer people: document your shit with examples!! (that feels a little better)

So if anyone can point me to a PHP-with-Xdebug-in-docker tutorial, I'll award Github Gold.

hughbris commented 9 months ago

This discussion also possibly useful: https://github.com/serversideup/docker-php/discussions/176