plugin-icon

dbug

作者:postpostmodern·
Simple error debugging and logging functions.
评级
1/5
版本
1.9.8
活跃安装
10
最后更新
Jan 29, 2018

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

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 4.9.28
这个插件是可用的下载,适用于您的站点。