Developer Debug Mode
Stop editing wp-config.php every time you need to debug your WordPress site. Developer Debug Mode lets you toggle all WordPress debug constants directly from your dashboard with beautiful toggle switches. Changes save automatically — no clicking save buttons, no FTP access needed, no risk of syntax errors in your config file. 🎯 The Problem This Plugin Solves Every WordPress developer knows the pain: Something breaks on your site You need to enable WP_DEBUG to see the error You open FTP/File Manager, find wp-config.php, edit it carefully Debug the issue Remember to turn debug off before visitors see ugly error messages Repeat next time something breaks Developer Debug Mode eliminates steps 2-5 entirely. Toggle debug on, find the error, toggle off. Done in seconds. ✨ Key Features One-Click Debug Toggles Control all six WordPress debug constants from a clean, modern interface: WP_DEBUG — Master switch for WordPress debugging WP_DEBUG_LOG — Save errors to wp-content/debug.log WP_DEBUG_DISPLAY — Show errors on screen (careful on production!) SCRIPT_DEBUG — Use unminified core CSS/JS files SAVEQUERIES — Log database queries for performance analysis WP_DISABLE_FATAL_ERROR_HANDLER — See raw PHP fatal errors instead of recovery mode Admin Bar Quick Toggle (New in 1.2.0!) Toggle any debug constant directly from the WordPress admin bar — no need to visit the settings page. Perfect for quick debugging sessions. Built-in Debug Log Viewer View, search, download, and clear your debug.log without leaving WordPress: Color-coded entries (fatal, error, warning, notice) Search with highlighting Auto-refresh option for real-time monitoring One-click download and clear Auto-Save Technology Changes save instantly as you toggle. No save button, no page refresh, no waiting. Frontend Debug Warning A tasteful notification bar appears when WP_DEBUG_DISPLAY is active, reminding you to turn it off before visitors see error messages. Cross-Tab Synchronization Toggle debug in one browser tab and watch other open tabs update instantly. Automatic Backups Every change creates a backup of wp-config.php. The plugin keeps the 5 most recent backups, so you can always recover if something goes wrong. 🔧 Perfect For Theme developers debugging template issues Plugin developers testing new code Site administrators troubleshooting problems Agencies managing multiple client sites Freelancers who need quick debugging without FTP access Anyone tired of manually editing wp-config.php 💡 Why Choose Developer Debug Mode? Unlike other debug plugins, we focus on user experience: ✅ Instant toggles — No save buttons, changes apply immediately ✅ Visual feedback — Clear status indicators show exactly what’s enabled ✅ Admin bar access — Toggle debug from anywhere in WordPress ✅ Production-safe — Frontend warnings prevent accidentally exposing errors ✅ Modern design — Beautiful UI that fits naturally in your dashboard ✅ Lightweight — No bloat, loads only where needed 🔒 Built With Security In Mind Capability checks ensure only administrators can change settings Nonce verification on all AJAX requests Automatic wp-config.php backups before every change No data sent to external servers Clean uninstall removes all plugin data 📚 Debug Constants Explained Not sure what each constant does? Here’s a quick guide: WP_DEBUG The master switch. When enabled, WordPress will display PHP errors, notices, and warnings. Required for the other debug constants to work. WP_DEBUG_LOG Saves all debug messages to /wp-content/debug.log. Essential for debugging issues that happen in the background (AJAX, cron jobs, REST API). WP_DEBUG_DISPLAY Shows errors directly on your web pages. Useful during development but never enable on production — it can expose sensitive information to visitors. SCRIPT_DEBUG Forces WordPress to use the development versions of core CSS and JavaScript files instead of minified versions. Helpful when debugging scripts. SAVEQUERIES Stores database queries in a global array for later analysis. Useful for identifying slow queries but adds overhead — disable when not needed. WP_DISABLE_FATAL_ERROR_HANDLER Disables WordPress’s “recovery mode” so you see the actual PHP fatal error instead of “There has been a critical error on this website.” 🤝 Support & Documentation Need help? We offer: Free Support — Post in the WordPress.org support forum Documentation — Visit glimbyte.ie for guides and tutorials Express Support — Fast turnaround for urgent issues via glimbyte.ie/support 🌐 Works Great With Query Monitor — Use alongside for deeper debugging Debug Bar — Compatible with Debug Bar and its add-ons Any caching plugin — Clear cache after toggling debug constants Managed WordPress hosts — Works on most hosts including Kinsta, WP Engine, SiteGround Credits Developed with ❤️ by Glimbyte — WordPress Development & Support. Special thanks to the WordPress community for feedback and suggestions. Privacy Policy Developer Debug Mode does not collect, store, or transmit any personal data. All settings are stored locally in your WordPress database and wp-config.php file. The optional support contact form (available in the plugin settings) sends data directly to Glimbyte’s support team. This data is handled according to Glimbyte’s Privacy Policy. Additional Info Contribute Found a bug or have a feature request? We’d love to hear from you! Support Forum: wordpress.org/support/plugin/developer-debug-mode Website: glimbyte.ie Translations Want to help translate Developer Debug Mode into your language? Visit translate.wordpress.org to contribute.
Top keywords
- debug37×4.43%
- wordpress18×2.15%
- wp11×1.32%
- support10×1.20%
- error9×1.08%
- php9×1.08%
- toggle9×1.08%
- wp debug8×0.96%
- debugging7×0.84%
- errors7×0.84%
- log7×0.84%
- mode7×0.84%
WP Debugging
This plugin sets the following debug constants in wp-config.php on plugin activation and removes them on plugin deactivation. Any errors will result in a PHP Exception being thrown. Debug constants per Debugging in WordPress. Default settings: define( 'WP_DEBUG_LOG', true ); define( 'SCRIPT_DEBUG', true ); define( 'SAVEQUERIES', true ); @ini_set( ‘display_errors’, 1 ); is set when the plugin is active. WP_DEBUG is set to true when the plugin is first run, thereafter it can be turned off in the Settings. The Settings page allows the user to set the following. define( 'WP_DEBUG', true ); // Default on initial plugin installation. define( 'WP_DEBUG_DISPLAY', false ); // Default when not declared is true. define( 'WP_DISABLE_FATAL_ERROR_HANDLER', true ); // WordPress 5.2 WSOD Override. When the plugin is deactivated best efforts are made to re-add pre-existing constants to their former state. When the plugin is activated the default settings and any saved settings are restored. This plugin uses the wp-cli/wp-config-transformer command for writing constants to wp-config.php. Debug Quick Look from Andrew Norcross is included with this plugin to assist in reading the debug.log file. If you already have this plugin installed you should delete it when WP Debugging is not active. Query Monitor and Debug Bar plugins are optional dependencies to aid in debugging and troubleshooting. The notice for installation will recur 45 days after being dismissed. If you have a non-standard location for your wp-config.php file you can use the filter wp_debugging_config_path to return the file path for your installation. The filter wp_debugging_add_constants allows the user to add constants to wp-config.php. The filter returns an array where the key is the name of the constant and the value is an array of data containing the value as a string and a boolean to indicate whether or not the value should be passed without quotes. $my_constants = [ 'my_test_constant' => [ 'value' => 'abc123', 'raw' => false, ], 'another_test_constant' => [ 'value' => 'true' ], ]; The value option contains the constant’s value as a string. The raw option means that instead of placing the value inside the config as a string it will become unquoted. The default is true. Set as false for non-boolean values. Example: add_filter( 'wp_debugging_add_constants', function( $added_constants ) { $my_constants = [ 'my_test_constant' => [ 'value' => '124xyz', 'raw' => false, ], 'another_test_constant' => [ 'value' => 'true' ], ]; return array_merge( $added_constants, $my_constants ); }, 10, 1 ); This will create the following constants. define( 'MY_TEST_CONSTANT', '124xyz' ); define( 'ANOTHER_TEST_CONSTANT', true ); Development PRs are welcome against the develop branch on GitHub.
Top keywords