{"id":19816,"date":"2012-09-18T19:06:22","date_gmt":"2012-09-18T19:06:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-debug-robot\/"},"modified":"2014-03-04T19:05:35","modified_gmt":"2014-03-04T19:05:35","slug":"wp-debug-robot","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/wp-debug-robot\/","author":98986,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"3.4.2","requires":"3.4.1","requires_php":"","requires_plugins":"","header_name":"Debug Robot","header_author":"Matthew Batchelder","header_description":"","assets_banners_color":"384e71","last_updated":"2014-03-04 19:05:35","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/borkweb.com","header_author_uri":"http:\/\/borkweb.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3067,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"600688","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[94,2679,2392,68431],"plugin_category":[59],"plugin_contributors":[77673],"plugin_business_model":[],"class_list":["post-19816","plugin","type-plugin","status-publish","hentry","plugin_tags-debug","plugin_tags-debugging","plugin_tags-robot","plugin_tags-udp","plugin_category-utilities-and-tools","plugin_contributors-borkweb","plugin_committers-borkweb"],"banners":{"banner":"https:\/\/ps.w.org\/wp-debug-robot\/assets\/banner-772x250.png?rev=600688","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-debug-robot_384e71.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Have you ever wanted to get debug output sent to you from WordPress without interrupting the flow of the page?<br \/>\nDo you ever wish you could get debug output from <em>other users'<\/em> sessions so you don't have to:<\/p>\n\n<ul>\n<li>Log in as them<\/li>\n<li>Asking them to look at debug output themselves (bleh)<\/li>\n<li>Or try in vain to re-create their issue<\/li>\n<\/ul>\n\n<p>This plugin allows you to send debug messages via UDP to a <a href=\"https:\/\/github.com\/borkweb\/jabberbot\">Jabber Bot<\/a> that can then route\nthe debug information to your IM client.<\/p>\n\n<p><em>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\n(e.g. email bot, logger, whatever).  My implementation is a Jabber Bot on my local dev environment :)<\/em><\/p>\n\n<h4>Usage<\/h4>\n\n<p>To send debug messages, simply call:<\/p>\n\n<pre><code>do_action( 'debug_robot', $message [, $target ]);\n<\/code><\/pre>\n\n<ul>\n<li><strong>$message<\/strong>: Message to send to your jabber bot.<\/li>\n<li><strong>$target<\/strong>: <em>(optional)<\/em> Email address that your jabber bot will route the message to.<\/li>\n<\/ul>\n\n<p>To receive debug messages, you will need to have:<\/p>\n\n<ul>\n<li>Your <a href=\"https:\/\/github.com\/borkweb\/jabberbot\">Jabber Bot<\/a> installed and configured.<\/li>\n<li>The Jabber Bot must be running.<\/li>\n<li>You must have friended your robot's jabber account with another jabber account (e.g. your Google account).<\/li>\n<li>You must be signed into Google Talk in some way shape or form so that your jabber bot can IM you.<\/li>\n<\/ul>\n\n<p><em>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\nare sent until your bot is running :)<\/em><\/p>\n\n<h3>Credits<\/h3>\n\n<p>This code was largely written by <a href=\"https:\/\/github.com\/abackstrom\">@abackstrom<\/a> with some additions by me while we worked at <a href=\"https:\/\/github.com\/PlymouthState\">@PlymouthState<\/a>. I then ported it into a WordPress plugin.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>wp-debug-robot<\/code> folder to your plugins directory (e.g. <code>wp-content\/plugins<\/code>)<\/li>\n<li>Got to Settings &gt; Debug Robot and configure your settings.  <\/li>\n<li>Set the <code>host<\/code> and <code>port<\/code> of the server you wish to send debug messages to.<\/li>\n<li>Set the default <code>target<\/code> email address that debug messages will be routed to by a Jabber bot.<\/li>\n<li>Configure a <a href=\"https:\/\/github.com\/borkweb\/jabberbot\">Jabber Bot<\/a> <\/li>\n<\/ol>\n\n<p><em>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.<\/em><\/p>\n\n<!--section=faq-->\n<dl>\n<dt>You mention a jabber bot.  What is that all about?<\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<p>Initial version<\/p>","raw_excerpt":"An unobtrusive debugging tool for WordPress","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=19816"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/borkweb"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19816"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19816"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19816"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19816"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19816"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}