10+
March 4, 2014
September 18, 2012
Have you ever wanted to get debug output sent to you from WordPress without interrupting the flow of the page?
Do you ever wish you could get debug output from other users’ sessions so you don’t have to:
This plugin allows you to send debug messages via UDP to a Jabber Bot that can then route
the debug information to your IM client.
Note: This plugin sends the messages via UDP. The receiving end doesn’t necessarily need to be a Jabber bot…it could be anything you want
(e.g. email bot, logger, whatever). My implementation is a Jabber Bot on my local dev environment 🙂
To send debug messages, simply call:
do_action( 'debug_robot', $message [, $target ]);
To receive debug messages, you will need to have:
Note: If your Jabber Bot isn’t running, no worries. UDP doesn’t wait for a response so it won’t impact your WordPress instance…you just won’t get the messages that
are sent until your bot is running 🙂
This code was largely written by @abackstrom with some additions by me while we worked at @PlymouthState. I then ported it into a WordPress plugin.
wp-debug-robot folder to your plugins directory (e.g. wp-content/plugins)host and port of the server you wish to send debug messages to.target email address that debug messages will be routed to by a Jabber bot.Note: you will also need a dummy jabber email address to act as your jabber bot. I created one with Google Apps called robot@mydomain.com then friended that account with my primary Google account.
This plugin allows your WordPress installation to send UDP packets containing debug information to…some place. The jabber bot is a service that runs on a the location you configure your Debug Settings to point to. When doing development on my localhost, I can run my jabberbot on my localhost as well so my dev environment sends debug info to the same machine it is running on. Another example that I have running: There is a machine in my office with the jabberbot running at all times. My co-workers at Gigaom and me – as long as we’re on our local network – can use the jabber bot by pointing their Debug Robot settings to the machine running the bot! Super easy.
Initial version
No previous versions available.