{"id":145476,"date":"2021-08-15T19:39:06","date_gmt":"2021-08-15T19:39:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/debug-log-config-tool\/"},"modified":"2025-04-30T19:04:43","modified_gmt":"2025-04-30T19:04:43","slug":"debug-log-config-tool","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/debug-log-config-tool\/","author":17587254,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.1","stable_tag":"2.0.1","tested":"6.8.5","requires":"5.6","requires_php":"5.6","requires_plugins":null,"header_name":"Debug Log Manager Tool","header_author":"Lukman Nakib","header_description":"Simple Debug log and Debug Toggle Tool","assets_banners_color":"345e89","last_updated":"2025-04-30 19:04:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/nkb-bd.github.io\/","header_author_uri":"https:\/\/nkb-bd.github.io\/","rating":5,"author_block_rating":0,"active_installs":3000,"downloads":56866,"num_ratings":21,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"pyrobd","date":"2021-08-15 19:38:37"},"1.0.2":{"tag":"1.0.2","author":"pyrobd","date":"2022-08-04 17:56:39"},"1.2":{"tag":"1.2","author":"pyrobd","date":"2023-06-04 12:51:27"},"1.3":{"tag":"1.3","author":"pyrobd","date":"2023-06-04 13:12:19"},"1.4":{"tag":"1.4","author":"pyrobd","date":"2023-06-04 14:17:33"},"1.4.2":{"tag":"1.4.2","author":"pyrobd","date":"2023-06-19 17:57:14"},"1.4.3":{"tag":"1.4.3","author":"pyrobd","date":"2023-08-22 17:52:18"},"1.4.4":{"tag":"1.4.4","author":"pyrobd","date":"2023-12-26 05:03:35"},"1.4.5":{"tag":"1.4.5","author":"pyrobd","date":"2024-03-23 22:08:45"},"1.5":{"tag":"1.5","author":"pyrobd","date":"2024-03-30 14:45:07"},"1.5.1":{"tag":"1.5.1","author":"pyrobd","date":"2024-04-02 21:01:18"},"1.5.2":{"tag":"1.5.2","author":"pyrobd","date":"2024-05-07 17:35:56"},"1.5.3":{"tag":"1.5.3","author":"pyrobd","date":"2024-12-19 05:09:13"},"1.5.3.2":{"tag":"1.5.3.2","author":"pyrobd","date":"2024-12-19 04:46:43"},"2.0.0":{"tag":"2.0.0","author":"pyrobd","date":"2025-04-24 05:18:16"},"2.0.1":{"tag":"2.0.1","author":"pyrobd","date":"2025-04-30 19:04:43"},"Fix-Name":{"tag":"Fix-Name","author":"pyrobd","date":"2025-04-29 19:45:54"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":21},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3128122,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3128122,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3128122,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.2","1.2","1.3","1.4","1.4.2","1.4.3","1.4.4","1.4.5","1.5","1.5.1","1.5.2","1.5.3","1.5.3.2","2.0.0","2.0.1","Fix-Name"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3128122,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3280223,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3280223,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"** Plugin Settings **","2":"** Debug Log **"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[94,2275,908,241283,3972],"plugin_category":[59],"plugin_contributors":[184410],"plugin_business_model":[],"class_list":["post-145476","plugin","type-plugin","status-publish","hentry","plugin_tags-debug","plugin_tags-developer","plugin_tags-log","plugin_tags-remote-debug","plugin_tags-tools","plugin_category-utilities-and-tools","plugin_contributors-pyrobd","plugin_committers-pyrobd"],"banners":{"banner":"https:\/\/ps.w.org\/debug-log-config-tool\/assets\/banner-772x250.png?rev=3128122","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/debug-log-config-tool\/assets\/icon-128x128.png?rev=3128122","icon_2x":"https:\/\/ps.w.org\/debug-log-config-tool\/assets\/icon-256x256.png?rev=3128122","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/debug-log-config-tool\/assets\/screenshot-1.png?rev=3128122","caption":"** Plugin Settings **"},{"src":"https:\/\/ps.w.org\/debug-log-config-tool\/assets\/screenshot-2.png?rev=3280223","caption":"** Debug Log **"},{"src":"https:\/\/ps.w.org\/debug-log-config-tool\/assets\/screenshot-3.png?rev=3280223","caption":""}],"raw_content":"<!--section=description-->\n<p>A comprehensive debugging toolkit for WordPress developers and site administrators. This plugin gives you complete control over WordPress debugging without editing wp-config.php files or using FTP.<\/p>\n\n<h4>Quick Demo<\/h4>\n\n<p>[youtube https:\/\/youtu.be\/D4K5zsLnILw]<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>WP-CLI Style Terminal<\/strong>: Execute WordPress commands directly from your browser with syntax highlighting and auto-completion<\/li>\n<li><strong>Database Tools<\/strong>: Run SQL queries, view table structures, and optimize your database (super admin only)<\/li>\n<li><strong>Debug Constants Manager<\/strong>: Toggle all WordPress debug constants with a single click<\/li>\n<li><strong>Log Viewer<\/strong>: View, filter, and analyze debug logs with syntax highlighting and error categorization<\/li>\n<li><strong>Query Inspector<\/strong>: Examine database queries with SAVEQUERIES support<\/li>\n<li><strong>Email Notifications<\/strong>: Get alerts when new errors appear in your logs<\/li>\n<li><strong>Safe Mode<\/strong>: Quickly disable all plugins except selected ones for troubleshooting<\/li>\n<li><strong>Custom Log Paths<\/strong>: Set custom log file locations with filter support<\/li>\n<\/ul>\n\n<h4>Debug Constants Available<\/h4>\n\n<ul>\n<li><strong>WP_DEBUG<\/strong> - Default Value: true - Enables WordPress debug mode<\/li>\n<li><strong>WP_DEBUG_LOG<\/strong> - Default Value: true - Saves all errors to a debug.log file<\/li>\n<li><strong>SCRIPT_DEBUG<\/strong> - Default Value: false - Uses development versions of core JS and CSS files<\/li>\n<li><strong>WP_DEBUG_DISPLAY<\/strong> - Default Value: false - Controls whether debug messages display on screen<\/li>\n<li><strong>SAVEQUERIES<\/strong> - Default Value: false - Saves database queries for analysis<\/li>\n<\/ul>\n\n<h4>Developer Tools<\/h4>\n\n<ul>\n<li><strong>Terminal Commands<\/strong>: Use WP-CLI style commands like <code>wp core version<\/code> or <code>wp plugin list<\/code><\/li>\n<li><strong>Database Explorer<\/strong>: Run SELECT queries and view results in a formatted table<\/li>\n<li><strong>Stack Trace Analysis<\/strong>: Visualize error stack traces for easier debugging<\/li>\n<li><strong>Hook Inspector<\/strong>: View all registered hooks and their callbacks<\/li>\n<li><strong>Environment Detection<\/strong>: Development features are automatically hidden in production<\/li>\n<\/ul>\n\n<blockquote>\n  <p><strong>Developer API<\/strong>: Apply custom filters like <code>apply_filters('wp_debuglog_log_file_path', $file);<\/code> to extend functionality<\/p>\n<\/blockquote>\n\n<p>Please note: Constant values will be restored on plugin deactivation as it was before activating the plugin.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/debug-log-config-tool<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Go to Tools-&gt; Debug Logs screen to see the debug logs or access it from the top navbar.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='do%20i%20need%20file%20manager%2Fftp%20or%20modify%20wp-config.php%20fie%20%20%3F'><h3>Do I need file manager\/ftp or modify wp-config.php fie  ?<\/h3><\/dt>\n<dd><p>No, just activate the plugin and turn off\/on debug mode from plugin settings<\/p><\/dd>\n<dt id='can%20i%20see%20full%20debug%20in%20dashboard%3F'><h3>Can I see full debug in dashboard?<\/h3><\/dt>\n<dd><p>Yes you can see a simple log in dashboard widget and nicely formatted view in the plugin<\/p><\/dd>\n<dt id='what%20does%20safe%20mode%20do%3F'><h3>What does safe mode do?<\/h3><\/dt>\n<dd><p>Safe mode will deactivate all the plugin except the selected one. When you turn safe mode off it will restore all the previous activated plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Fix typo<\/li>\n<li>Fix memory issue<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Added WP-CLI style command structure in terminal (e.g., <code>wp core version<\/code>)<\/li>\n<li>Added database commands with WP-CLI syntax (<code>wp db query<\/code>, <code>wp db tables<\/code>, etc.)<\/li>\n<li>Added terminal settings page to enable\/disable terminal and database features<\/li>\n<li>Added super admin restriction for database commands<\/li>\n<li>Added support for SQL queries with proper security measures<\/li>\n<li>Added stack trace visualization for better error analysis<\/li>\n<li>Help command to show commands by category with organized sections<\/li>\n<li>Enhanced security for terminal commands (preventing SQL injection, restricting destructive commands)<\/li>\n<li>Quick Debug Toggle from admin bar (WP_DEBUG)<\/li>\n<\/ul>\n\n<h4>1.5.3<\/h4>\n\n<ul>\n<li>Fix footer text on all page<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>Added query logs<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Fixed Vulnerability of debug log file. Generating random file for debug.<\/li>\n<li>Added a new safe mode which will turn off all plugins excluding selected ones.<\/li>\n<\/ul>\n\n<h4>1.4.5<\/h4>\n\n<ul>\n<li>Fixed refresh<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>New Constants<\/li>\n<li>Removed database dependency<\/li>\n<\/ul>\n\n<h4>1.4.4<\/h4>\n\n<ul>\n<li>Fixed Refresh Log<\/li>\n<li>Added dashboard widget<\/li>\n<li>Clean UI<\/li>\n<li>Refresh Log<\/li>\n<li>Email Notification<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Version<\/li>\n<\/ul>","raw_excerpt":"The &quot;Debug Log Config Tool&quot; simplifies debugging. Toggle logging,queries , view levels, clear logs from dashboard.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/145476","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=145476"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pyrobd"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=145476"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=145476"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=145476"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=145476"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=145476"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=145476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}