Title: Makes Debugging in @wordpress/env Possible
Last modified: December 31, 2023

---

# Makes Debugging in @wordpress/env Possible

 *  [Michelle Blanchette](https://wordpress.org/support/users/michelleblanchette/)
 * (@michelleblanchette)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/makes-debugging-in-wordpress-env-possible/)
 * I’ve been switching from a custom Docker Compose environment to `@wordpress/env`(
   aka `wp-env`) which I still fail to figure out how to quickly tail the PHP debug
   logs. _Is it even possible? They say it is, yet I only ever see the HTTP logs
   from the web server…_
 * I’ve added this plugin to my `.wp-env.json` file so that I always have it available
   in my test environment now. I’m amazed the infamous Debug Bar plugin doesn’t 
   seem to have a way to see the tail of the PHP debug log file..?
 * My favorite part about this plugin is that repetitive log lines are grouped together
   in the display, with a note of the number of occurrences. Makes reading the logs
   much easier at quick glance!
 * The downside of this plugin is just by the nature that it’s a plugin—if you’re
   trying to debug PHP Fatal errors that happen early in execution, they won’t be
   accessible since they would prevent this plugin from running. However, I didn’t
   have a problem with this because I’d let the PHP Fatal happen and then just undo
   whatever I did to cause the fatal error. After that, I’d just go back to review
   the error in this plugin’s page. Easy!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bowo](https://wordpress.org/support/users/qriouslad/)
 * (@qriouslad)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/makes-debugging-in-wordpress-env-possible/#post-17309628)
 * Thanks for the really nice review Michelle! Glad to know it’s been useful for
   wp-env.

Viewing 1 replies (of 1 total)

The topic ‘Makes Debugging in @wordpress/env Possible’ is closed to new replies.

 * ![](https://ps.w.org/debug-log-manager/assets/icon-256x256.png?rev=2783658)
 * [Debug Log Manager - Conveniently Monitor and Inspect Errors](https://wordpress.org/plugins/debug-log-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/debug-log-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/debug-log-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/debug-log-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/debug-log-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/debug-log-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bowo](https://wordpress.org/support/users/qriouslad/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/makes-debugging-in-wordpress-env-possible/#post-17309628)