Solved

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

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses how to implement server side field validation and display customized error messages to the client.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

734 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