The Problem
I got back into WordPress Themes and Plugins programming and found myself struggled debugging my code. There are several options to debug PHP code but each has its drawbacks for me:
- using
print
orecho
somewhere in the HTML code (it could break JS stuff, too distracting [you could style them but you still need to mess with the HTML ]) - using a IDE (setup, using a IDE )
- other solutions (several things must be installed, too distracting)
The Solution
This Plugin is a simple and slim PHP to Console bridge to deliver debugging messages. It supports Strings, Arrays and Objects.
The setup is minimal: since we are in the WordPress Framework it’s as simple as activating a Plugin.
Most browsers support the console.log()
function (Firebug in Firefox, Developer Tools in Chrome, Firebug Lite in IE, Scripts overwriting the behavior, etc.) so you should easily find the best solution for you.
Distraction will be reduced, even more if you use the Console for Javascript debugging anyway.
[eltd_button size=”huge-full-width” type=”outline” text=”Download & Demo Links” custom_class=”#” icon_pack=”font_awesome” fa_icon=”” link=”” target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Demo = WordPress Buggy Plugin
[eltd_button size=”huge” type=”” text=”Full Live Demo” custom_class=”” icon_pack=”font_awesome” fa_icon=”fa-laptop” link=”https://codecanyon.net/item/wordpress-buggy-plugin/236695″ target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Kindly Note: We update new contents like WordPress Themes, Plugins, PHP Scripts everyday. But remember that you should never use this items in a commercial website. All the contents posted here for development & testing purpose only. We’re not responsible for any damage, use at your own RISK! We highly recommend to buy WordPress Buggy Plugin from the The Developer ( mustardamus ) website. Thank you.
Download = WordPress Buggy Plugin-[Updated].zip