Support a local / dev image #16
Replies: 3 comments 5 replies
-
Wordpress doesn't have a good debug tool. Debug bar and query monitor ain't good enough. It couldn't be used to debug api, especially for download links. So xdebug is a proper tool that bring justice back to PHP. (Please don't suggest me to use log, it is not very productive way) |
Beta Was this translation helpful? Give feedback.
-
Agreed. Xdebug is by far the most important tool for me - for debugging, profiling, and developing. |
Beta Was this translation helpful? Give feedback.
-
One way would be to provide *-dev images, the other way would be to provide a development build target for the Dockerfiles. These should come with
The actual configuration of xdebug is something that should happen in the container, not the image itself and varies from Windows, Linux, and Mac. We could provide a sample compose.dev.yml pulling in the dev image, and setting the correct environment variables for xdebug. |
Beta Was this translation helpful? Give feedback.
-
How helpful would it be to provide a dev image for FrankenWP & WordPress?
What should be included?
Thinking DEBUG=true
Caddy set to debug
WP_DEBUG set to true
And include xdebug?
5 votes ·
Beta Was this translation helpful? Give feedback.
All reactions