dbug

توسط

dbug() dlog() ddbug()

dbug Basics

Debugging

Call with up to three arguments:
<?php
// output a variable
dbug( $var );

    // output a variable with a title           
    dbug( $debug, 'Testing' );

    // output a variable with a title and information from the last 6 steps from debug_backtrace
    dbug( $somevalue, 'Trying to figure some shit out', 6 );
}

or use ddbug to dbug and die.

Error Logging

Call with up to three arguments:
<?php
// log a variable
dlog( $val );

    // log a variable with a title
    dlog( $buggy, 'what is $buggy' );

    // log a variable with a title into the file 'bug_trap' 
    dlog( $somevalue, 'im desperate', 'bug_trap' );
}

Production / Development Environments

you should have them

  1. Place entire /dbug/ directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set logging to screen or to to files, and the larget file size for logs
  4. Write some code
  5. Can’t figure something out? dbug( $var )
  6. Need to write yourself a note? dbug( $var, ‘this is super cool’ )
  7. How many lines of backtrace do you need? dbug( $var, ‘oh wow!’, 25 )
  8. Want to dbug and die? Use ddbug()

سوالات متداول

Installation Instructions

  1. Place entire /dbug/ directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set logging to screen or to to files, and the larget file size for logs
  4. Write some code
  5. Can’t figure something out? dbug( $var )
  6. Need to write yourself a note? dbug( $var, ‘this is super cool’ )
  7. How many lines of backtrace do you need? dbug( $var, ‘oh wow!’, 25 )
  8. Want to dbug and die? Use ddbug()

This doesn’t do anything!

well

Why did you create dbug?

Because I cant write code without it

تصویری برای این آیتم موجود نیست.
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
هیچ نسخه‌ای برای این آیتم موجود نیست.
★★★★★
★★★★★
1.0 /5 (1 نظر)

قیمت:

رایگان

نگارش

آخرین انتشار

18 اردیبهشت 1405

آخرین بروزرسانی

3 ماه پیش

نصب های فعال

10+

نگارش وردپرس

وردپرس 4.0+

تست شده از نسخه

وردپرس 4.9.29

نگارش PHP

-

تگ ها

نسخه ها

0 نسخه