Debug Bar

Beschreibung

Fügt der Werkzeugleiste ein Menü zur Fehlersuche hinzu, das die Abfrage, Cache und andere hilfreiche Informationen zur Beseitigung von Fehlern anzeigt.

Ein Muss für jeden Entwickler!

Wurde WP_DEBUG aktiviert, zeichnet es auch alle PHP-Warnungen und -Hinweise auf, damit sie leichter gefunden werden können.

Wenn SAVEQUERIES aktiviert wurde, werden die MySQL-Abfragen aufgezeichnet und angezeigt.

Um diese Optionen zu aktivieren, füge folgendes zu deiner wp-config.php-Datei hinzu:

define( 'WP_DEBUG', true );
define( 'SAVEQUERIES', true );

Füge mit dem Plugin Debug Bar Console eine PHP-/MySQL-Konsole hinzu.

Es gibt zahlreiche andere Add-ons für einen Blick unter die Haube, zum Beispiel für die registrierten Inhaltstypen, Shortcodes, WP-Cron, das Laden von Sprachdateien, Aktionen und Filter und so weiter. Suche einfach im Plugin-Verzeichnis nach „Debug Bar“.

Installation

Automatische Installation verwenden.

Rezensionen

11. Juli 2025
Debug Bar is still listed in WordPress’s own developer documentation as a go-to debugging tool, yet it hasn’t been updated in over a year and throws PHP errors. It’s a clear example of Automattic promoting a tool while failing to maintain it – a pattern that’s become too common. For a plugin they recommend, its neglect is frustrating and undermines developer trust.
23. Mai 2025
This is a very useful plugin, but I am getting errors when WP_DEBUG is set to true based on the updates in WordPress 6.7. Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. I hope there will be an update soon!
22. November 2023
A plugin without which I cannot imagine my work. It would definitely be much more difficult.
Alle 69 Rezensionen lesen

Mitwirkende und Entwickler

„Debug Bar“ wurde in 17 Sprachen übersetzt. Danke an die Übersetzer für ihre Mitwirkung.

Übersetze „Debug Bar“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.1.8

  • Add late output escaping where missing in the WP_Query panel.

1.1.7

  • Resolves a PHP Warning in WP 6.7+.

1.1.6

  • 1.1.5 didn’t have the minified CSS rebuilt.

1.1.5

  • Update CSS to remove gradient and shadow styles
  • Use dashicons as action buttons instead of misaligned text.

1.1.4

  • Behebung eines kritischen PHP8+ Fehlers, wenn php_uname deaktiviert ist

1.1.3

  • Behebt Hinweise im HTTP-Anfragen-Panel, wenn eine Anfrage gestoppt/ nicht beendet wird.
  • Das SQL im WP_Query-Panel dekodieren.

1.1.2

  • Behebt die Fehlerprüfung im HTTP-Anfrage-Panel.

1.1.1

  • Refactor the HTTP Requests panel:
  • Remove jQuery usage
  • Properly display response codes
  • Better CSS to emphasize errors and long requests ( > 250ms )

1.1

  • Add a new panel for HTTP requests using the native WP methods.
  • AMP dev mode compatibility.
  • Change cache busters to use filemtime instead of hardcoded values.
  • Minor CSS updates, so themes don’t override the pre styles.

1.0.1

  • Aktualisiert das CSS des Object-Cache-Panels, um für die neue Version von object-cache.php mit besserem stats() bereit zu sein

1.0

  • Verbesserte Kompatibilität mit der WordPress.com-Werkzeugleiste in Jetpack

0.9

  • Added panel navigation to toolbar.
  • Improved localization support.
  • Security fixes.

0.8.4

  • Aktualisiert, um Inkompatibilitäten mit einigen Erweiterungen zu vermeiden

0.8.3

  • Aktualisiert, um Veraltet-Hinweise in PHP7 zu vermeiden.

0.8.2

  • Aktualisiert, um einen neuen Veraltet-Hinweis in WordPress 4.0 abzufangen.

0.8.1

  • Kleine Sicherheits-Reparatur.

0.8

  • WordPress 3.3 compatibility
  • UI refresh
  • Removed jQuery UI requirement
  • Full screen by default
  • New debug-bar query parameter to show on page load
  • Removed display cookies
  • JavaScript error tracking (disabled by default)

0.7

  • Made compatible with PHP < 5.2.0
  • CSS Tweaks
  • Load JavaScript in Footer
  • Fixed display issues for WP_Query debug on CPT archives pages
  • SQL/DB error tracking

0.6

  • Added maximize/restore button
  • Added cookie to keep track of debug bar state
  • Added post type information to WP_Query tab
  • Bug fix where bottom of page was obscured in the admin

0.5

  • New UI
  • Backend rewritten with a class for each panel
  • Many miscellaneous improvements

0.4.1

  • Kompatibilitäts-Update für den Trunk-Ordner

0.4

  • Added DB Version information
  • Updated PHP Warning and Notice tracking so that multiple different errors on the same line are tracked
  • Kompatibilitäts-Update für den Trunk-Ordner

0.3

  • Added WordPress Query infomation
  • Added Request parsing information

0.2

  • Added PHP Notice / Warning tracking when WP_DEBUG enabled
  • Added deprecated function usage tracking

0.1

  • Erstveröffentlichung