wordpress-docker-compose icon indicating copy to clipboard operation
wordpress-docker-compose copied to clipboard

[Feature Request] Build XDebug into PHP config?

Open jschrab-lc opened this issue 6 years ago • 3 comments

Would it be within the goals of the project to have XDebug be part of the PHP configuration? Or is there intention for this container configuration to be used for production purposes too?

Or has someone done this on their own already and have a few bullet points to share on how to set it up?

jschrab-lc avatar Nov 20 '18 15:11 jschrab-lc

The containers are for development, XDebug would be a great integration. It is also not that complicated, I have an old gist here: https://gist.github.com/nezhar/27bddc6cc44a3e2e44819bd8dcbc289c

The documentation should be also extended in this case.

nezhar avatar Jan 11 '19 17:01 nezhar

Any ETA for this it would be very handy

mwoodpatrick avatar Feb 26 '20 16:02 mwoodpatrick

I've build add xdebug, wpcli and few other tools and wrapped this as vscode .devcontainer, feel free to try it: https://github.com/PiotrCzapla/vscode-wordpress

There is as well a Dockerfile that installs all the necessary tools along with the XDEBUG. https://github.com/PiotrCzapla/vscode-wordpress/blob/main/.devcontainer/Dockerfile

You can try to use it if you don't want to use vscode.

PiotrCzapla avatar Nov 20 '21 14:11 PiotrCzapla