该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

DoDebug

描述

This plugin can log the breakpoints into the file.

  • To check the log, ssh to server, run tail -f /your_wordpress_path/wp-content/debug.log to watch the output.

API

  • To log, use defined( 'debug' ) && debug( 'your content to log' ); in your plugin/theme code.

  • To log only in advanced debug level, use defined( 'debug' ) && debug2( 'your content to log' );.

  • To log with backtrace depth = 4, use defined( 'debug' ) && debug( 'your content to log', 4 );.

  • To append one variable (usually an array), use defined( 'debug' ) && debug( 'your content to log', $var_to_check );.

评价

此插件暂无评价。

贡献者及开发者

「DoDebug」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「DoDebug」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1

  • More accurate to detect IP.

1.0 – Jan 22 2020

  • Initial Release.