Title: Barra de depuració
Author: WordPress.org
Published: <strong>4 de novembre de 2010</strong>
Last modified: 1 de març de 2026

---

Cerca extensions

![](https://ps.w.org/debug-bar/assets/banner-772x250.png?rev=3050748)

![](https://ps.w.org/debug-bar/assets/icon.svg?rev=3050748)

# Barra de depuració

 Per [WordPress.org](https://profiles.wordpress.org/wordpressdotorg/)

[Baixa](https://downloads.wordpress.org/plugin/debug-bar.1.1.8.zip)

 * [Detalls](https://ca.wordpress.org/plugins/debug-bar/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/debug-bar/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/debug-bar/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/debug-bar/#developers)

 [Suport](https://wordpress.org/support/plugin/debug-bar/)

## Descripció

Afegeix un menú de depuració a la barra de l’administració que mostra les consultes,
la memòria cau, i altra informació útil per a la depuració.

Una necessitat per als desenvolupadors!

When `WP_DEBUG` is enabled it also tracks PHP Warnings and Notices to make them 
easier to find.

When `SAVEQUERIES` is enabled the mysql queries are tracked and displayed.

To enable these options, add the following code to your `wp-config.php` file:

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

Add a PHP/MySQL console with the [Debug Bar Console plugin](https://wordpress.org/plugins/debug-bar-console/).

There are numerous other add-ons available to get more insight into, for instance,
the registered Post Types, Shortcodes, WP Cron, Language file loading, Actions and
Filters and so on. Just [search the plugin directory for ‘Debug Bar’](https://wordpress.org/plugins/search/debug+bar/).

## Instal·lació

Usa l’instal·lador automàtic

## Ressenyes

![](https://secure.gravatar.com/avatar/e9f5f94041ff4fb0098fc5bd67cdba10151f79aad8e2f9622d7664647925b388?
s=60&d=retro&r=g)

### 󠀁[Simple and easy](https://wordpress.org/support/topic/simple-and-easy-536/)󠁿

 [Lene](https://profiles.wordpress.org/lenesachs/) 27 de març de 2026

It works…

![](https://secure.gravatar.com/avatar/cbedb9fe7caa2eae30b6d21614ca98124d474155a8efada5ecfd422989da93fc?
s=60&d=retro&r=g)

### 󠀁[Works perfectly](https://wordpress.org/support/topic/works-perfectly-2898/)󠁿

 [Michael Galli](https://profiles.wordpress.org/galliweb/) 14 de novembre de 2025

Finding bugs is very easy and efficient with that plugin. I can highly recommend
it.

![](https://secure.gravatar.com/avatar/1b69f074358e8573b4965ea7a3b799f32a4344d8e4e1c4095fed29a9994479ed?
s=60&d=retro&r=g)

### 󠀁[Seemingly abandoned](https://wordpress.org/support/topic/seemingly-abandoned/)󠁿

 [James Hunt](https://profiles.wordpress.org/bonkerz/) 11 de juliol de 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.

![](https://secure.gravatar.com/avatar/73dae15a51428539eb80d1b9a980ad247bfb1c84c58c49f4d1330b9e7ee18897?
s=60&d=retro&r=g)

### 󠀁[Getting translation errors in WP 6.7](https://wordpress.org/support/topic/getting-translation-errors-in-wp-6-7/)󠁿

 [Traci Larson](https://profiles.wordpress.org/treysea/) 23 de maig de 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!

![](https://secure.gravatar.com/avatar/c00d5de7fdcf70f8b7620cefb0df0018272bd68f9e9c5aee62f356edad0f0a03?
s=60&d=retro&r=g)

### 󠀁[it must be!](https://wordpress.org/support/topic/it-must-be-2/)󠁿

 [Marcin Pietrzak](https://profiles.wordpress.org/iworks/) 22 de novembre de 2023

A plugin without which I cannot imagine my work. It would definitely be much more
difficult.

![](https://secure.gravatar.com/avatar/2f3c992f507a3590d8e3cec77ae062da50bf8b4aeb3910f97ac3297e972f1ea7?
s=60&d=retro&r=g)

### 󠀁[Helpful tool](https://wordpress.org/support/topic/helpful-tool-30/)󠁿

 [Mehedi Hasan](https://profiles.wordpress.org/b-07/) 29 de juliol de 2023

Simple and useful.

 [ Llegiu totes les 69 ressenyes ](https://wordpress.org/support/plugin/debug-bar/reviews/)

## Col·laboradors i desenvolupadors

«Barra de depuració» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)
 *   [ Ryan Boren ](https://profiles.wordpress.org/ryan/)
 *   [ Peter Westwood ](https://profiles.wordpress.org/westi/)
 *   [ koopersmith ](https://profiles.wordpress.org/koopersmith/)
 *   [ Jon Cave ](https://profiles.wordpress.org/duck_/)
 *   [ mitcho (Michael Yoshitaka Erlewine) ](https://profiles.wordpress.org/mitchoyoshitaka/)
 *   [ Dion Hulse ](https://profiles.wordpress.org/dd32/)
 *   [ Juliette Reinders Folmer ](https://profiles.wordpress.org/jrf/)
 *   [ Konstantin Obenland ](https://profiles.wordpress.org/obenland/)
 *   [ Andrew Nacin ](https://profiles.wordpress.org/nacin/)
 *   [ Evan Solomon ](https://profiles.wordpress.org/evansolomon/)
 *   [ Samuel Wood (Otto) ](https://profiles.wordpress.org/otto42/)
 *   [ Andrija Vučinić ](https://profiles.wordpress.org/aidvu/)
 *   [ Joseph Scott ](https://profiles.wordpress.org/josephscott/)
 *   [ Eoin Gallagher ](https://profiles.wordpress.org/eoigal/)
 *   [ John James Jacoby ](https://profiles.wordpress.org/johnjamesjacoby/)

“Barra de depuració” s’ha traduït a 17 configuracions regionals. Gràcies als [traductors](https://translate.wordpress.org/projects/wp-plugins/debug-bar/contributors)
per les seves aportacions.

[Traduïu «Barra de depuració» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/debug-bar)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/debug-bar/), baixeu-
vos el [repositori SVN](https://plugins.svn.wordpress.org/debug-bar/), o subscriviu-
vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/debug-bar/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/debug-bar/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 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

 * Fix PHP8+ critical error if `php_uname` is disabled

#### 1.1.3

 * Fix notices in HTTP Requests panel when a request is stopped/doesn’t finish.
 * Decode the SQL in the WP_Query panel.

#### 1.1.2

 * Fix error checking in HTTP Requests 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

 * Update object cache panel CSS to be ready for new object-cache.php release with
   better stats()

#### 1.0

 * Improved compatibility with the WordPress.com toolbar in Jetpack

#### 0.9

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

#### 0.8.4

 * Updated to avoid incompatibilities with some extensions.

#### 0.8.3

 * Updated to avoid PHP7 Deprecated notices.

#### 0.8.2

 * Updated to handle a new deprecated message in WordPress 4.0.

#### 0.8.1

 * Solució de seguretat menor.

#### 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

 * Actualitzacions de compatibilitat per a la versió actual

#### 0.4

 * Added DB Version information
 * Updated PHP Warning and Notice tracking so that multiple different errors on 
   the same line are tracked
 * Actualitzacions de compatibilitat per a la versió actual

#### 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

 * Versió inicial

## Extensió de la comunitat

Aquesta extensió està desenvolupada i rep suport d'una comunitat. [Col·laboreu en aquesta extensió](https://github.com/WordPress/debug-bar)

## Meta

 *  Versió **1.1.8**
 *  Darrera actualització **fa 1 mes**
 *  Instal·lacions actives **20.000+**
 *  Versió del WordPress ** 3.4 o posterior **
 *  Provada fins a **7.0**
 *  Idiomes
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/debug-bar/), [Czech](https://cs.wordpress.org/plugins/debug-bar/),
   [Dutch](https://nl.wordpress.org/plugins/debug-bar/), [English (Canada)](https://en-ca.wordpress.org/plugins/debug-bar/),
   [English (US)](https://wordpress.org/plugins/debug-bar/), [French (France)](https://fr.wordpress.org/plugins/debug-bar/),
   [German](https://de.wordpress.org/plugins/debug-bar/), [Italian](https://it.wordpress.org/plugins/debug-bar/),
   [Japanese](https://ja.wordpress.org/plugins/debug-bar/), [Polish](https://pl.wordpress.org/plugins/debug-bar/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/debug-bar/), [Portuguese (Portugal)](https://pt.wordpress.org/plugins/debug-bar/),
   [Russian](https://ru.wordpress.org/plugins/debug-bar/), [Spanish (Chile)](https://cl.wordpress.org/plugins/debug-bar/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/debug-bar/), [Spanish (Spain)](https://es.wordpress.org/plugins/debug-bar/),
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/debug-bar/), i [Swedish](https://sv.wordpress.org/plugins/debug-bar/).
 *  [Traduïu a la vostra llengua](https://translate.wordpress.org/projects/wp-plugins/debug-bar)
 * Etiqueta
 * [debug](https://ca.wordpress.org/plugins/tags/debug/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/debug-bar/advanced/)

## Valoracions

 4.1 sobre 5 estrelles.

 *  [  51 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/debug-bar/reviews/?filter=5)
 *  [  3 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/debug-bar/reviews/?filter=4)
 *  [  1 valoració de 3 estrelles     ](https://wordpress.org/support/plugin/debug-bar/reviews/?filter=3)
 *  [  1 valoració de 2 estrelles     ](https://wordpress.org/support/plugin/debug-bar/reviews/?filter=2)
 *  [  13 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/debug-bar/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/debug-bar/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/debug-bar/reviews/)

## Col·laboradors

 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)
 *   [ Ryan Boren ](https://profiles.wordpress.org/ryan/)
 *   [ Peter Westwood ](https://profiles.wordpress.org/westi/)
 *   [ koopersmith ](https://profiles.wordpress.org/koopersmith/)
 *   [ Jon Cave ](https://profiles.wordpress.org/duck_/)
 *   [ mitcho (Michael Yoshitaka Erlewine) ](https://profiles.wordpress.org/mitchoyoshitaka/)
 *   [ Dion Hulse ](https://profiles.wordpress.org/dd32/)
 *   [ Juliette Reinders Folmer ](https://profiles.wordpress.org/jrf/)
 *   [ Konstantin Obenland ](https://profiles.wordpress.org/obenland/)
 *   [ Andrew Nacin ](https://profiles.wordpress.org/nacin/)
 *   [ Evan Solomon ](https://profiles.wordpress.org/evansolomon/)
 *   [ Samuel Wood (Otto) ](https://profiles.wordpress.org/otto42/)
 *   [ Andrija Vučinić ](https://profiles.wordpress.org/aidvu/)
 *   [ Joseph Scott ](https://profiles.wordpress.org/josephscott/)
 *   [ Eoin Gallagher ](https://profiles.wordpress.org/eoigal/)
 *   [ John James Jacoby ](https://profiles.wordpress.org/johnjamesjacoby/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/debug-bar/)