WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Federico Andrioli v1.3.0

BugFu Console Debugger

Log/Debug the PHP code in your Theme/Plugin with your Browser Console (no extension needed)

BugFu Console Debugger

The facts

Rating
4.8★ from 17
Active installs
300+
Price
Free
Last updated
17 Jan 2023
Added
Aug 2016
Requires WP
3.8
Tested up to
WP 6.1.12
Downloads
11,159

Our analysis

AI-assisted

BugFu Console Debugger is a WordPress plugin designed for developers to log and debug PHP code directly in the browser console. It allows you to output various types of information, including backtrace details and structured representations of variables, without needing any additional browser extensions.

This plugin is suitable for theme and plugin developers who need a straightforward way to troubleshoot their code. By using simple PHP method calls, you can easily see the output in your browser's JavaScript console, making it a practical tool for debugging during development.

Best for: This plugin suits WordPress developers looking for a simple debugging tool.

What it does well

  • Free to use from the WordPress.org directory
  • Designed specifically for theme and plugin developers
  • Outputs logs directly in the browser console
  • No additional browser extensions required
  • Easy to use with simple PHP method calls

Where it falls short

  • Limited information on advanced features or use cases
  • No detailed support or documentation mentioned

Verdict

BugFu Console Debugger provides a basic logging solution for developers. It is useful for those who want to debug PHP code efficiently within their browser console.

From the developer

Federico Andrioli's own description of BugFu Console Debugger, lightly tidied.

Log/Debug the PHP code in your Theme/Plugin with your Browser Console (no extension needed). Made for themes and plugins developers.

HOW TO CHECK IF BUGFU IS WORKING

Open your Browser Console, if you see this header, BugFu is working properly

################################
#### BugFu Console Debugger ####
################################

HOW TO OPEN YOUR BROWSER JAVASCRIPT CONSOLE

If you’ve never used the Browser JavaScript Console before, here’s how you open it:

  • Chrome PC shift+ctrl+j – Chrome Mac alt+cmd+j
  • Firefox PC shift+ctrl+k – Firefox Mac alt+cmd+k
  • Safari PC shift+ctrl+c – Safari Mac alt+cmd+c

HOW TO USE BUGFU WITH WORDPRESS

Call the log static method from wherever you are within the WordPress PHP code

<?php /* WORDPRESS CODE HERE */

/* Call it with no arguments to only output some backtrace info */
BugFu::log();

/* Call it with a string argument to output that string content */
BugFu::log($my_string_content);

/* Call it with a non-string argument to output the structured
   representation of that argument - it uses var_export() */
BugFu::log($my_object-array-variable);

/* Call it with the second optional argument set to "false"
   to turn off the backtrace info (which is on by default) */
BugFu::log($my_content, false);

DEVELOPERS

Official Github repository:
https://github.com/fedeandri/bugfu-console-debugger

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for developer tooling.

WPCode

WPCode

93

Easily add code snippets in WordPress. Insert header &amp; footer scripts, add PHP code snippets with conditio...

Free 3M+ installs 4.9★ (1,873)
Header Footer Code Manager

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...

Free 600k+ installs 4.9★ (309)
Admin and Site Enhancements

Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...

Free 200k+ installs 5★ (421)
Shortcoder

Create custom &quot;Shortcodes&quot; easily for HTML, JavaScript, CSS code snippets and use the shortcodes wit...

Free 100k+ installs 4.9★ (227)
Insert PHP Code Snippet

Add PHP code to your pages and posts easily using shortcodes.

Free 90k+ installs 4.9★ (705)
Code Snippets

An easy, clean, and simple way to enhance your site with code snippets.

Free 1M+ installs 4.7★ (509)