{"id":106563,"date":"2012-12-27T19:42:40","date_gmt":"2012-12-28T00:42:40","guid":{"rendered":"http:\/\/wpmu.org\/?p=106563"},"modified":"2013-04-27T14:41:43","modified_gmt":"2013-04-27T18:41:43","slug":"debug-this-a-new-debugging-tool-for-wordpress-developers","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/debug-this-a-new-debugging-tool-for-wordpress-developers\/","title":{"rendered":"Debug This: A New Debugging Tool For WordPress Developers"},"content":{"rendered":"<p>Here&#8217;s a new plugin to add to your WordPress developer toolbox. <a href=\"http:\/\/wordpress.org\/extend\/plugins\/debug-this\/\" target=\"_blank\">Debug This<\/a> gives WordPress super admins the ability to access debugging information through the admin bar on any page. Not only does it display errors, it also gives you a succinct summary of what scripts, styles, actions, filters, queries, etc. are active on the selected page. <\/p>\n<div class=\"image-grid cgrid-row\">\n<div class=\"cgrid-col cgrid-col-span-full\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/12\/banner-772x250.jpg\" alt=\"Post image\" aria-hidden=\"true\" title=\"banner-772x250\" width=\"772\" height=\"250\" class=\"alignnone size-full wp-image-106565\" \/><\/div>\n<\/div>\n<p>Debug This displays valuable debugging information in a tidy, readable screen that&#8217;s easy to close out.<\/p>\n<p>These are just a few of the debug modes included in the plugin: <\/p>\n<ul>\n<li>oEmbed providers<\/li>\n<li>Post attachments<\/li>\n<li>Variety of WP_Query modes<\/li>\n<li>Variety of PHP modes (defined functions, constants, classes, phpinfo, etc&#8230;)<\/li>\n<li>Users (Current author, all users)<\/li>\n<li>Cron<\/li>\n<li>Cache<\/li>\n<li>Registered image sizes<\/li>\n<li>Post types<\/li>\n<li>Menus, Widgets, Sidebars<\/li>\n<li>Rendered page analysis (CSS, JS, Images)<\/li>\n<\/ul>\n<p>The advantage of using this plugin is that the debugging information is only seen by super admins and only on demand through the admin bar. It doesn&#8217;t mess up your site for visitors who may be viewing at the same time that you are debugging. It&#8217;s also much more comprehensive than your basic debugging that only displays errors.<\/p>\n<p>The <a href=\"http:\/\/wordpress.org\/extend\/plugins\/debug-this\/faq\/\" target=\"_blank\">Debug This FAQ page<\/a> lists a number of ways that developers can extend the plugin, including adding new debug modes, filters you can use to customize Debug This, how to access the built-in JS functionality and much more. <a href=\"http:\/\/wordpress.org\/extend\/plugins\/debug-this\/\" target=\"_blank\">Debug This<\/a> is available from the WordPress plugin repository. Add it to any site where you want to get a quick peek behind the scenes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debug This gives WordPress super admins the ability to access debugging information through the admin bar on any page.<\/p>\n","protected":false},"author":4099,"featured_media":106572,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[4],"tags":[4005],"tutorials_categories":[],"class_list":["post-106563","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins","tag-debugging"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/106563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=106563"}],"version-history":[{"count":0,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/106563\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/106572"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=106563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=106563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=106563"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=106563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}