跳到内容

WP Debug Robot

v1.0

Matthew Batchelder · 2012年9月18日 上架

An unobtrusive debugging tool for WordPress

正在使用
10+
评分
暂无
累计下载
3,607
最近更新
2014年3月5日
需要 WordPress 3.4.1+已测试到 3.4.2

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:

  • Log in as them
  • Asking them to look at debug output themselves (bleh)
  • Or try in vain to re-create their issue

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 🙂

Usage

To send debug messages, simply call:

do_action( 'debug_robot', $message [, $target ]);
  • $message: Message to send to your jabber bot.
  • $target: (optional) Email address that your jabber bot will route the message to.

To receive debug messages, you will need to have:

  • Your Jabber Bot installed and configured.
  • The Jabber Bot must be running.
  • You must have friended your robot’s jabber account with another jabber account (e.g. your Google account).
  • You must be signed into Google Talk in some way shape or form so that your jabber bot can IM you.

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 🙂

Credits

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums