Solved

wordpress: send WP_DEBUG log to firebug? or just to admin user

Posted on 2011-09-23
4
520 Views
Last Modified: 2012-05-12
I swear I've seen this done before, if not found a solution myself, that allowed me to view the debug log in firebug. I'd settle for just being able to view the log inline, but only as an admin user.

What are folks using for php/Wordpress debugging these days? The plugins out there seem pretty outdated.
0
Comment
Question by:SonicVoom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36591196
I usually just keep a PuTTY window open if I need to hit the log repeatedly :)

For plugins, I'm partial to this one:

http://wordpress.org/extend/plugins/wp-pear-debug/



0
 
LVL 31

Accepted Solution

by:
gwkg earned 500 total points
ID: 36601683
I use Simple WP FirePHP plugin to write to the Firebug console with FirePHP.  But I don't know how much tweaking it would take to get the debug log dumped there.

http://wordpress.org/extend/plugins/simple-wp-firephp/

There is this one, too: http://wordpress.org/extend/plugins/wp-firephp/

http://www.firephp.org/

I haven't tried these:

http://wordpress.org/extend/plugins/debug-bar/
http://wordpress.org/extend/plugins/debug-bar-extender/

Here are slides from Andrew Nacin's WordCamp San Francisco 2011 presentation: Debugging in WordPress: http://www.slideshare.net/andrewnacin/wordcamp-sf-2011-debugging-in-wordpress

Everyone seems to like Debug Bar Extender.  I'm going to try it out tonight.


0
 
LVL 2

Author Closing Comment

by:SonicVoom
ID: 36602224
That slideshow pointed me in the right direction.

I used Debug bar with the following in wp-config.php

define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);

Now I can see wp-debug output in debug bar.
0
 
LVL 31

Expert Comment

by:gwkg
ID: 36655074
Just installed it with those settings -- works great.

Thanks for posting the follow up.
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question