The fastest and easiest way to switch debug mode on/off and view PHP info directly…
| Author: | Web Guy (profile at wordpress.org) |
| WordPress version required: | 5.0 |
| WordPress version tested: | 6.9.4 |
| Plugin version: | 0.2 |
| Added to WordPress repository: | 22-03-2022 |
| Last updated: | 18-05-2026 |
| Rating, %: | 100 |
| Rated by: | 1 |
| Plugin URI: | |
| Total downloads: | 1 669 |
![]() Click to start download |
|
???? Ask Question | ???? Email Me
The fastest and easiest way to switch debug mode on/off and view PHP info directly from the admin.
- Normally, to enable debug mode, you’d have to manually add the following to wp-config.php:
<?php define( 'WP_DEBUG', true ); ?> - Normally, to view the server’s PHP version and other info, you’d have to manually upload a file with:
<?php phpinfo(); ?>
With Debug Switch, this is handled automatically.
How?
Simply activate the plugin to enable and deactivate the plugin to disable them when you’re done debugging.
Why?
There are a dozen other debugging plugins that already do this (more or less), so why create another?
Well, I already tried them all, and they just felt clunky and unnecessarily overcomplicated. I got tired of having to manually switch debug mode on and off and these other plugins didn’t offer a simple way to do that without also adding a bunch of other bells and whistles that I found to just be in the way, so I made something simpler.
ChangeLog
