Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Image

DoDebug

Disgrifiad

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 );.

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

“DoDebug” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Translate “DoDebug” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

1.1

  • More accurate to detect IP.

1.0 – Jan 22 2020

  • Initial Release.