Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-09-23
4
Medium Priority
?
533 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
  • 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
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 prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
Suggested Courses

885 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