Another short, solution-minded blog post today!
In some cases I run the default WordPress Docker container. But, debugging is always well, a bit more complicated. We can enable WP_DEBUG_LOG
by setting an environment variable: WORDPRESS_DEBUG_LOG
But how do you read, or even better, tail the debug.log file?
Run docker logs -f docker_container_name_or_id > /dev/null
Happy debugging!
Leave a Reply