{"id":118640,"date":"2020-03-19T01:19:15","date_gmt":"2020-03-19T01:19:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-marvelous-debug\/"},"modified":"2020-03-28T00:30:45","modified_gmt":"2020-03-28T00:30:45","slug":"wp-marvelous-debug","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/wp-marvelous-debug\/","author":10278606,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"5.3.21","requires":"4.4","requires_php":"7.0.0","requires_plugins":"","header_name":"WP Marvelous Debug","header_author":"Pablo Pacheco","header_description":"Edit the debugging constants from wp-config, view the log file on the Dashboard and more debugging features","assets_banners_color":"c6d3df","last_updated":"2020-03-28 00:30:45","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/profiles.wordpress.org\/karzin\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1300,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"1.1.0":"<ul>\n<li>Add Try catch on <code>WPConfigTransformer<\/code> class<\/li>\n<li>Add Log Styling options<\/li>\n<li>Replace WP Config path by file<\/li>\n<\/ul>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2263579","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2263579","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"2264200","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2263520","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2263520","resolution":"2","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[94,2679,908,183188],"plugin_category":[59],"plugin_contributors":[80665],"plugin_business_model":[],"class_list":["post-118640","plugin","type-plugin","status-publish","hentry","plugin_tags-debug","plugin_tags-debugging","plugin_tags-log","plugin_tags-wpconfig","plugin_category-utilities-and-tools","plugin_contributors-karzin","plugin_committers-karzin"],"banners":{"banner":"https:\/\/ps.w.org\/wp-marvelous-debug\/assets\/banner-772x250.png?rev=2264200","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-marvelous-debug\/assets\/icon-128x128.png?rev=2263579","icon_2x":"https:\/\/ps.w.org\/wp-marvelous-debug\/assets\/icon-256x256.png?rev=2263579","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-marvelous-debug\/assets\/screenshot-1.png?rev=2263520","caption":""},{"src":"https:\/\/ps.w.org\/wp-marvelous-debug\/assets\/screenshot-2.png?rev=2263520","caption":""}],"raw_content":"<!--section=description-->\n<p>This plugin allows viewing the log file (debug.log) on the Dashboard and editing the debugging constants from <code>wp-config.php<\/code>. It also provides other debugging oriented features.<\/p>\n\n<p>The log file is loaded on the Dashboard <strong>(Tools &gt; Log File)<\/strong> using the <a href=\"https:\/\/www.php.net\/manual\/pt_BR\/class.splfileobject.php\">\/SplFileObject<\/a> class, optimized for memory usage, and it will use a pagination in order to load only some lines from it.<\/p>\n\n<p>The plugin will try to enable <code>WP_DEBUG<\/code> and <code>WP_DEBUG_LOG<\/code> to true and disable <code>WP_DEBUG_DISPLAY<\/code> on its first run and will try to do the opposite when it's deactivated.\nYou can change this behaviour if you want in the settings.<\/p>\n\n<h3>WP Config Constants<\/h3>\n\n<p>The <code>wp-config.php<\/code> is being edited using <a href=\"https:\/\/github.com\/wp-cli\/wp-config-transformer\">wp-cli\/wp-config-transformer<\/a> library, and these are the edited constants:<\/p>\n\n<ul>\n<li><code>WP_DEBUG<\/code><\/li>\n<li><code>WP_DEBUG_LOG<\/code><\/li>\n<li><code>WP_DEBUG_DISPLAY<\/code><\/li>\n<li><code>SCRIPT_DEBUG<\/code><\/li>\n<li><code>SAVEQUERIES<\/code><\/li>\n<\/ul>\n\n<h3>Generate a reduced log file<\/h3>\n\n<p>It's possible to generate a reduced duplicate log file (debug-reduced.log) from the original one loading only the last lines from it (something like the tail command from Linux).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire 'wp-marvelous-debug' folder to the '\/wp-content\/plugins\/' directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Start by visiting plugin settings at Settings &gt; Debugging.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1.0 - 27\/03\/2020<\/h4>\n\n<ul>\n<li>Add Try catch on <code>WPConfigTransformer<\/code> class<\/li>\n<li>Add Log Styling options<\/li>\n<li>Replace WP Config path by file<\/li>\n<\/ul>\n\n<h4>1.0.2 - 19\/03\/2020<\/h4>\n\n<ul>\n<li>Add 'Erase Log Content' button<\/li>\n<\/ul>\n\n<h4>1.0.1 - 18\/03\/2020<\/h4>\n\n<ul>\n<li>Improve readme<\/li>\n<li>Add banner and screenshots<\/li>\n<\/ul>\n\n<h4>1.0.0 - 16\/03\/2020<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Edit the debugging constants from wp-config, view the log file on the Dashboard and more debugging features.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/118640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=118640"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/karzin"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=118640"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=118640"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=118640"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=118640"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=118640"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=118640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}