Solved

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

Posted on 2011-09-23
4
510 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
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).

749 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