PHPackages                             pinecone-dot-website/dbug - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. pinecone-dot-website/dbug

ActiveWordpress-plugin[Debugging &amp; Profiling](/categories/debugging)

pinecone-dot-website/dbug
=========================

1.9.8(8y ago)032GPL-2.0+PHPPHP &gt;=5.4

Since Mar 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pinecone-dot-website/dbug)[ Packagist](https://packagist.org/packages/pinecone-dot-website/dbug)[ RSS](/packages/pinecone-dot-website-dbug/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (9)Used By (0)

=== dbug === Contributors: postpostmodern, pinecone-dot-io Donate link: Tags: debug, error log Requires at least: 4.0 Tested up to: 4.9.2 Stable tag: trunk

Simple error debugging and logging functions.

== Description == dbug() dlog() ddbug()

== Installation ==

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()

== Changelog == = 1.9.8 = change create\_function for php &gt;= 7.2

= 1.9.5 = require php 5.4

= 1.9.3 = composer tweaks

= 1.9.2 = Add composer info, autoload

= 1.9 = Log viewer in admin

= 1.89 = Slightly better class method information

= 1.88 = Moved admin styles inline because of reasons

= 1.87 = Improved default log filesize logic, added ddlog()

= 1.86 = Registered css for mu-plugins correctly

= 1.85 = Fixed offset in backtrace

= 1.81 = Fixed sloppy error which disabled admin screen :(

= 1.8 = Code cleanup, mostly in backtrace

= 1.74 = Whoops, didn't add \_htaccess.php to SVN :-p

= 1.73 = Fixed creating .htaccess file when using mu-plugins

= 1.72 = Set dbug to never show on screen if logs are turned on, added REQUEST\_URI to all logs

= 1.7 = Moved admin settings into separate class, cleanup of core code

= 1.55 = Fixed using float as argument $k in dbug

= 1.54 = Fixed deprecated argument in add\_options\_page()

= 1.53 = Fixed a bug in detecting MU

= 1.52 = Fixed a bug in logging integer keyed arrays

= 1.5 = Changed some things, I don't remember what

= 1.4 = Better handling for MU / single blog. All options and settings for MU are now global, saved in blog #1 database.

= 1.32 = Added ddbug() (dbug and die)

= 1.31 = fixed behavior in error handlers to return false, try /catch blocks work as expected.

= 1.2 = last bit of namespace pollution cleaned up check for PHP 5 css tweaks

= 1.1 = added preference for log filesize

= 1.08 = code cleanup, reducing namespace pollution

= 1.0 = yes, its here

== Upgrade Notice == dunno

== Frequently Asked Questions == = This doesn't do anything! = well

= Why did you create dbug? = Because I cant write code without it

== Screenshots ==

1. dbug is delicious `/trunk/screenshot-1.png`
2. strict error reporting is great `/trunk/screenshot-2.png`

== dbug Basics ==

= Debugging = Call with up to three arguments: `&lt;?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: `&lt;?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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~51 days

Recently: every ~46 days

Total

7

Last Release

3027d ago

PHP version history (2 changes)1.9.3PHP &gt;=5.3

1.9.5PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/25bcc7870d509d15ad7b8c52cfa658c575dc3aad6fb390ca7a8ba91974df6c48?d=identicon)[pinecone-dot-website](/maintainers/pinecone-dot-website)

---

Top Contributors

[![eaglstun](https://avatars.githubusercontent.com/u/50819?v=4)](https://github.com/eaglstun "eaglstun (47 commits)")

### Embed Badge

![Health badge](/badges/pinecone-dot-website-dbug/health.svg)

```
[![Health](https://phpackages.com/badges/pinecone-dot-website-dbug/health.svg)](https://phpackages.com/packages/pinecone-dot-website-dbug)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
