Title: Debugger
Author: Modern Tribe, Inc.
Published: <strong>فروری 15, 2013</strong>
Last modified: مئی 5, 2013

---

پلگ انز تلاش کریں

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

یہ پلگ ان **ورڈپریس کے تازہ ترین 3 ریلیزوں کے ساتھ ٹیسٹ نہیں کیا گیا ہے**۔ اب یہ
برقرار نہیں رکھا جا سکتا یا معاونت نہیں کی جا سکتی اور اس کو ورڈپریس کے تازہ ترین
ورژنز کے ساتھ استعمال کیے جانے پر مطابقت کے مسائل ہو سکتے ہیں۔

![](https://s.w.org/plugins/geopattern-icon/debugger_a6dbea.svg)

# Debugger

 منجانب [Modern Tribe, Inc.](https://profiles.wordpress.org/moderntribe/)

[ڈاؤن لوڈ کریں](https://downloads.wordpress.org/plugin/debugger.1.4.zip)

 * [تفصیلات](https://ur.wordpress.org/plugins/debugger/#description)
 * [جائزے](https://ur.wordpress.org/plugins/debugger/#reviews)
 * [ڈیولپمنٹ](https://ur.wordpress.org/plugins/debugger/#developers)

 [معاونت](https://wordpress.org/support/plugin/debugger/)

## تفصیل

You can use this plugin to manually log data or to capture logging on WordPress 
actions. You can capture load time, memory, backrace, data dumps, urls, and server
IPs.

This is designed to either be managed using wp-config.php and logging OR using the
admin and debugbar plugin ( https://wordpress.org/extend/plugins/debug-bar/ ). Most
of the following documentation applies equally to the settings panel or the wp-config.
php vars. Either one works fine. The only exception is the DEBUG_LOG configuration
which is only supported as a wp-config var.

Firstly, you can manually log things using the following function:

    ```
    do_action( 'log', $message, $group, $data );
    ```

The $group allows you to selectively output logging based on groups of log messages.
The $message is the string you want to see in the log. $data is an optional parameter
for the data that you want to display in the log (objects, arrays, or any other 
sort of data really).

To render messages to the log, you must configure wp-config.php as follows:

Run debug on only these groups. Use ‘ALL’ to debug everything. The group ‘ACTIONS’
is reserved for WordPress actions.

    ```
    define( 'DEBUG_GROUPS', 'ACTIONS,default,myspecialgroup' );
    ```

Display these outputs in the log for each log message.

    ```
    define( 'DEBUG_PARAMS', 'time,timedelta,memory,memorydelta,data,backtrace,url,server' );
    ```

WordPress actions that you wish to log.

    ```
    define( 'DEBUG_ACTIONS', 'wp_head,switch_theme,wp_footer' );
    ```

Optional restriction by URL (useful on MU installs).

    ```
    define( 'DEBUG_URLS', 'myurl.com' );
    ```

Minimum time in milliseconds required to register a log entry as being slow. Default
0 for no minumum.

    ```
    define( 'DEBUG_MIN_TIME', 500 );
    ```

Minimum memory in killobytes required to register a log entry as being heavy. Default
0 for no minumum.

    ```
    define( 'DEBUG_MIN_MEM', 1024 );
    ```

Path to log file or set to TRUE to use php error log. Default FALSE for no logging.

    ```
    define( 'DEBUG_LOG', '/path/to/writable/log/file' );
    ```

or

    ```
    define( 'DEBUG_LOG', TRUE );
    ```

#### Todo

 * Add variable for sample rate so that this could run randomly on production installs
 * Admin panel per site
 * Admin panel globally
 * WordPress error logging
 * Mysql query logging
 * WP_Error integration
 * Alerts ex: if this takes more than this much memory then log it…

## اسکرین شاٹس

[⌊Use the debugger to track how much time or memory hooks or benchmarked parts of
code take to execute.⌉⌊Use the debugger to track how much time or memory hooks or
benchmarked parts of code take to execute.⌉[

Use the debugger to track how much time or memory hooks or benchmarked parts of 
code take to execute.

[⌊Configure your test parameters in wp-config.php or right in the admin.⌉⌊Configure
your test parameters in wp-config.php or right in the admin.⌉[

Configure your test parameters in wp-config.php or right in the admin.

[⌊Use the debugger to dump stack traces or pass data to see what the data looks 
like.⌉⌊Use the debugger to dump stack traces or pass data to see what the data looks
like.⌉[

Use the debugger to dump stack traces or pass data to see what the data looks like.

## جائزے

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

### 󠀁[not bad](https://wordpress.org/support/topic/not-bad-48/)󠁿

 [Den999](https://profiles.wordpress.org/den999/) فروری 7, 2017

not bad

 [ تمام 2 جائزے پڑھیں ](https://wordpress.org/support/plugin/debugger/reviews/)

## شراکت دار اور ڈیویلپرز

“Debugger” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:

شراکت دار

 *   [ Modern Tribe, Inc. ](https://profiles.wordpress.org/moderntribe/)
 *   [ Peter Chester ](https://profiles.wordpress.org/peterchester/)
 *   [ Jonathan Brinley ](https://profiles.wordpress.org/jbrinley/)

[“Debugger” کا اپنی زبان میں ترجمہ کریں۔](https://translate.wordpress.org/projects/wp-plugins/debugger)

### ڈویلپمینٹ میں دلچسپی ہے؟

[کوڈ براؤز کریں](https://plugins.trac.wordpress.org/browser/debugger/)، [ایس این وی ریپوزیٹری](https://plugins.svn.wordpress.org/debugger/)
کو چیک کریں یا [ڈویلپمینٹ لاگ](https://plugins.trac.wordpress.org/log/debugger/)
کو سبسکرائب کریں بذریعہ [آر ایس ایس](https://plugins.trac.wordpress.org/log/debugger/?limit=100&mode=stop_on_copy&format=rss)۔

## چینج لاگ

#### 1.4

 * Bug fixes
 * Add screenshots
 * Tune CSS performance in debug bar

#### 1.3

 * Add settings panel and options based configuration.
 * Log the specific url when http curl hook is logged.

#### 1.2

 * Rename ‘delta’ to ‘timedelta’ and add ‘memorydelta’

#### 1.1

 * Improve loading order to ensure that production sites aren’t adversely effected
   when no debugging is needed.
 * Update logging display.
 * Add initializer message so that it’s clear when a new load has started.
 * Clean up debug bar UI a bit.

#### 1.0

Initial Release.

## میٹا

 *  Version **1.4**
 *  Last updated **13 سال پہلے**
 *  Active installations **10+**
 *  WordPress version ** 3.0 یا اس سے جدید **
 *  Tested up to **3.6.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/debugger/)
 * Tags
 * [debug](https://ur.wordpress.org/plugins/tags/debug/)[debugger](https://ur.wordpress.org/plugins/tags/debugger/)
   [modern tribe](https://ur.wordpress.org/plugins/tags/modern-tribe/)[profiling](https://ur.wordpress.org/plugins/tags/profiling/)
   [tribe](https://ur.wordpress.org/plugins/tags/tribe/)
 *  [اعلی درجے کا منظر](https://ur.wordpress.org/plugins/debugger/advanced/)

## درجہ بندیاں

 4.5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/debugger/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/debugger/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/debugger/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/debugger/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/debugger/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/debugger/reviews/)

## شراکت دار

 *   [ Modern Tribe, Inc. ](https://profiles.wordpress.org/moderntribe/)
 *   [ Peter Chester ](https://profiles.wordpress.org/peterchester/)
 *   [ Jonathan Brinley ](https://profiles.wordpress.org/jbrinley/)

## معاونت

کچھ کہنا ہے؟ مدد چاہیے؟

 [معاونتی فورم دیکھیں](https://wordpress.org/support/plugin/debugger/)