{"id":13411,"date":"2011-05-26T16:11:13","date_gmt":"2011-05-26T16:11:13","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/kb-debug\/"},"modified":"2011-05-27T18:12:57","modified_gmt":"2011-05-27T18:12:57","slug":"kb-debug","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/kb-debug\/","author":5866312,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2.4","stable_tag":"0.2.4","tested":"3.2.1","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"KB_DEBUG","header_author":"Kunal Bhalla.","header_description":"","assets_banners_color":"","last_updated":"2011-05-27 18:12:57","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/kunal-b.in","header_plugin_uri":"http:\/\/github.com\/kunalb\/kb_debug","header_author_uri":"http:\/\/kunal-b.in","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1349,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2","0.2.2","0.2.3","0.2.4"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566874","resolution":"2","location":"plugin","width":1349,"height":682},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566874","resolution":"1","location":"plugin","width":1349,"height":682}},"screenshots":{"1":"Showing how errors and hooks appear on using this plugin.","2":"Showing how debugging information is shown in the plugin."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2679],"plugin_category":[],"plugin_contributors":[89966],"plugin_business_model":[],"class_list":["post-13411","plugin","type-plugin","status-publish","hentry","plugin_tags-debugging","plugin_contributors-kunalb","plugin_committers-kunalb"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/kb-debug.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/kb-debug\/trunk\/screenshot-1.png?rev=1566874","caption":"Showing how errors and hooks appear on using this plugin."},{"src":"https:\/\/ps.w.org\/kb-debug\/trunk\/screenshot-2.png?rev=1566874","caption":"Showing how debugging information is shown in the plugin."}],"raw_content":"<!--section=description-->\n<ul>\n<li>Call <code>kb_debug<\/code> with any arguments that you want to log and they will be pretty printed at the end of the document.<\/li>\n<li>To log and show a list of all warnings, errors and notices generated by your plugin, add  <code>?KB_Debug_Errors<\/code> to your URL. <\/li>\n<li>To see a list of all hooks in the order they fire as well as what arguments they are called with and what functions run on them (again, in which order),\nadd a <code>?KB_Debug_Hooks<\/code> to the URL.<\/li>\n<\/ul>\n\n<p>To see both just add ?KB_Debug_Errors&amp;KB_Debug_Hooks. (Essentially $_GET[var] must be set to enable that feature).<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Logs and displays all warnings, errors, etc. alongwith their context.<\/li>\n<li>Logs and displays all hooks alongwith the argument(s) each hook is called with and the functions that run on that particular hook (in order).<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Upload <code>kb_debug.php<\/code> and 'kb-debug.css' to the <code>\/wp-content\/mu-plugins\/<\/code> directory. (Create this directory if it doesn't exist).<\/p>\n\n<p>NOTE: These files must be placed directly under mu-plugins: ie mu-plugins\/kb_debug.php and mu-plugins\/kb-debug.css.<\/p>\n\n<p>Putting these into mu-plugins allows the plugin to capture the most number of hooks it can.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Why?<\/dt>\n<dd><p>Because.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2.4<\/h4>\n\n<ul>\n<li>Moved README to readme.txt<\/li>\n<\/ul>\n\n<h4>0.2.3<\/h4>\n\n<ul>\n<li>Renamed Screenshots for wp.org to display.<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Modified readme.txt and updated the PHP version.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Plugin completely refactored.<\/li>\n<li>No longer uses buffering.<\/li>\n<li>Features are now activated by setting $_GET variables.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>First version.<\/li>\n<\/ul>","raw_excerpt":"Debug your plugins and themes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/13411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=13411"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kunalb"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=13411"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=13411"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=13411"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=13411"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=13411"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=13411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}