Title: Send PHP Errors to Debug Bar?
Last modified: July 18, 2023

---

# Send PHP Errors to Debug Bar?

 *  [Tim Nicholson](https://wordpress.org/support/users/timnicholson/)
 * (@timnicholson)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/send-php-errors-to-debug-bar/)
 * Is there any way to have PHP errors sent to the Debug Bar plugin instead of displaying
   in the HTML of the site? I’d love to have them sent to a Debug Bar “console” 
   of sorts so that they don’t interfere with the page layout (both the Editor and
   the front-end).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Dion Hulse](https://wordpress.org/support/users/dd32/)
 * (@dd32)
 * Meta Developer
 * [2 years, 8 months ago](https://wordpress.org/support/topic/send-php-errors-to-debug-bar/#post-16905113)
 * Yes, if you configure your server not to display PHP Notices/Warnings it’ll still
   show them in Debug Bar, but not display on the page.
 * If you’re using WP_DEBUG to turn error displays on, you can turn the display 
   off by defining **WP_DEBUG_DISPLAY** while retaining the increased debug/error
   levels. See the below article.
 * > [Debugging in WordPress](https://wordpress.org/documentation/article/debugging-in-wordpress/)
 * PHP **Errors** cannot easily be caught, as a Fatal error terminates the process
   and debug bar can’t easily be loaded.
 * You may also find other plugins are more suitable for your workflow, such as 
   Query Monitor: [https://wordpress.org/plugins/query-monitor/](https://wordpress.org/plugins/query-monitor/)

Viewing 1 replies (of 1 total)

The topic ‘Send PHP Errors to Debug Bar?’ is closed to new replies.

 * ![](https://ps.w.org/debug-bar/assets/icon.svg?rev=3050748)
 * [Debug Bar](https://wordpress.org/plugins/debug-bar/)
 * [Support Threads](https://wordpress.org/support/plugin/debug-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/debug-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/debug-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/debug-bar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dion Hulse](https://wordpress.org/support/users/dd32/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/send-php-errors-to-debug-bar/#post-16905113)
 * Status: not a support question