xrDebug
Official client for debugging WordPress with xrDebug
★ 7stars
16release downloads
≈10active sites
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/xrdebug/wordpress/releases/download/2.0.0/xrdebug.zipFrom the readme
xrDebug WordPress Plugin
Summary
WordPress plugin for debugging with xrDebug. This plugin uses the xrDebug PHP library and it adds WordPress-specific features.
Installation
1. Go to latest release and download xrdebug.zip.
2. Go to your WordPress admin panel, click on Plugins and then Add New.
3. Click on Upload Plugin and select the downloaded zip file.
4. Click on Install Now and then Activate.
Debug Helpers
In addition to the PHP xrDebug helpers this plugin adds the following WordPress-specific debug helpers.
wpxri
Use function wpxri to access the xrDebug WordPress inspector instance, which can be used to control the WordPress inspector logging features.
| Method | Toggles |
| --------------------------- | --------------- |
| showErrors | Showing errors |
| showHooks | Showing hooks |
| showMails | Showing emails |
| showQueries | Showing queries |
showErrors
Use method showErrors to show the PHP errors during the WordPress request.
To stop showing errors pass FALSE as argument.
showHooks
Use method showHooks to show the WordPress hooks executed during the WordPress request.
To stop showing hooks pass FALSE as argument.
Read the full README on GitHub →
Releases
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.