Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Ultimate DebugBar

Описание

Ultimate debug bar for your WordPress website. On each page of your website a neat debug bar will be displayed with the following info:

  • PHP version
  • Request execution time
  • Request memory consumption
  • WordPress-related PHP constants defined in your wp-config.php file
  • All website options (wp_options)
  • Request data
  • Timeline (waterfall) where you can see which portion of execution takes too much time
  • List of all hooks triggered on the page whose execution time exceeds 1ms, along with some stats
  • List of all database queries performed on the page, along with their source and execution time
  • Last 100 lines of your debug.log file (if it exists in wp-content)
  • List of loaded PHP files (categorized)

Besides that, it will track request data/hooks/db queries/mem. consumption in AJAX calls too (beta).

This plugin is meant to be used during development and/or debugging only. Only administrators and network administrators (in multi-site environment) can see the debugbar, unless the WP_DEBUG is set to true. In that case, everyone will see the debugbar.

Try it instantly on tastewp.com!

Скриншоты

  • List of all database queries with their timings
  • List of (slow) hooks lasting over 1ms in an AJAX request
  • Deserialized/formatted config options
  • Timeline (waterfall) of WP execution (TTFB)

Установка

Use built in plugin installer or unzip ultimate-debugbar.zip in your wp-content/plugins and activate the plugin through the dashboard.

Часто задаваемые вопросы

Q: AJAX requests are not working when plugin is active
A: Your server is blocking Ultimate Debugbar. If you’re running nginx, (check this)[https://stackoverflow.com/questions/23844761/upstream-sent-too-big-header-while-reading-response-header-from-upstream].

Q: AJAX requests are not being diplayed in the debugbar
A: Plugin is trying to send too much data in the headers. I’m afraid there’s no solution for this yet.

Q: How do I disable tracking AJAX requests?
A: Add the following code to your wp-config.php:

define('ULTIMATE_DEBUG_AJAX', false);

Отзывы

19.09.2022
This plugin seemed to work fine for me. I wish the timeline ‘Rendering’ was broken down somehow with more granularity. I have always wished for a tway to tell which crappy plugin is burning up all the time to render a page.
07.06.2022 1 ответ
I don’t understand why this fine little plugin doesn’t have much more fans. It integrates nicely at the bottom edge of your site-display, offering some KPI at all times, ready to be popped open when more information is needed. Its waterfall diagram (titled «Timeline») helped me zoom in on a troublemaker in matter of moments; much more intuitive than quite a few alternatives I have tried before. Thank you, @Avram; may this live long and gain the audience it deserves.
Посмотреть все 3 отзыва

Участники и разработчики

«Ultimate DebugBar» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Ultimate DebugBar» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

0.2
— updated debugbar (requires PHP 7.1 now)
— added plugin icon

0.1
— initial release