{"id":154883,"date":"2022-03-22T04:24:31","date_gmt":"2022-03-22T04:24:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/debug-switch\/"},"modified":"2026-01-21T13:40:08","modified_gmt":"2026-01-21T13:40:08","slug":"debug-switch","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/debug-switch\/","author":23361022,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1","stable_tag":"trunk","tested":"6.8.5","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"Debug Switch","header_author":"Web Guy","header_description":"The fastest and easiest way to toggle WP_DEBUG on and off directly from the WP admin.","assets_banners_color":"","last_updated":"2026-01-21 13:40:08","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/webguy.io\/donate","header_plugin_uri":"","header_author_uri":"https:\/\/webguy.io\/","rating":5,"author_block_rating":0,"active_installs":0,"downloads":1029,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2697455,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2697455,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[94,93,4473,662],"plugin_category":[59],"plugin_contributors":[247167],"plugin_business_model":[],"class_list":["post-154883","plugin","type-plugin","status-publish","hentry","plugin_tags-debug","plugin_tags-errors","plugin_tags-info","plugin_tags-php","plugin_category-utilities-and-tools","plugin_contributors-webguyio","plugin_committers-webguyio","plugin_support_reps-johnmarty"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/debug-switch\/assets\/icon-128x128.png?rev=2697455","icon_2x":"https:\/\/ps.w.org\/debug-switch\/assets\/icon-256x256.png?rev=2697455","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><a href=\"https:\/\/github.com\/webguyio\/support\">\ud83d\udcac Ask Question<\/a> | <a href=\"mailto:webguywork@gmail.com\">\ud83d\udce7 Email Me<\/a><\/p>\n\n<p>The fastest and easiest way to switch debug mode on\/off and view PHP info directly from the admin.<\/p>\n\n<p>Toggle debug mode ( <code>&lt;?php define( 'WP_DEBUG', true ); ?&gt;<\/code> ) and view PHP version and info ( <code>&lt;?php phpinfo(); ?&gt;<\/code> ).<\/p>\n\n<p><strong>How?<\/strong><\/p>\n\n<p>Simply activate the plugin to enable and deactivate the plugin to disable them when you're done debugging.<\/p>\n\n<p><strong>Why?<\/strong><\/p>\n\n<p><em>There are a dozen other debugging plugins that already do this (more or less), so why create another?<\/em><\/p>\n\n<p>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.<\/p>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>New<\/li>\n<\/ul>","raw_excerpt":"The fastest and easiest way to switch debug mode on\/off and view PHP info directly from the admin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/154883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=154883"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webguyio"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=154883"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=154883"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=154883"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=154883"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=154883"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=154883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}