diff --git a/public_html/inc_config.php.dist b/public_html/inc_config.php.dist
index 58ac35d54112d2aab69d1f40e8c65c45235e06c5..0d163efdf9224ee8a273cf85b62d4e93e0182d9d 100644
--- a/public_html/inc_config.php.dist
+++ b/public_html/inc_config.php.dist
@@ -27,4 +27,7 @@ return array(
     // allow directory listing when accessing a path of a package
     // true is required to fetch all packages
     'showdircontent'=>true,
+
+    // Enable for troubleshooting
+    'debug'=>false,    
 );
\ No newline at end of file
diff --git a/public_html/packages/index.php b/public_html/packages/index.php
index cc987e1c4e4e642a8888fe1797d61468671d2cb0..45e0003f106b9aaf273e9c278d42a728c756ffce 100644
--- a/public_html/packages/index.php
+++ b/public_html/packages/index.php
@@ -10,7 +10,7 @@
  * ======================================================================
  */
 
-    $bDebug=false;
+
     ini_set('display_errors', 1);
     ini_set('display_startup_errors', 1);
     error_reporting(E_ALL);
@@ -18,6 +18,7 @@
     require_once('../inc_functions.php');
     $aConfig=require_once("../inc_config.php");
     
+    $bDebug=isset($aConfig['debug']) && $aConfig['debug'] ? true : false;
     $lockfile=$aConfig['tmpdir'].'/used_hashes.txt';
     $iMaxAge=$aConfig['maxage'];
 
@@ -26,9 +27,9 @@
     // MAIN
     // ----------------------------------------------------------------------
 
-    _wd('Start: '.date('Y-m-d H:i:s').'<style>body{background:#eee; color:#456;}
-            .debug{background:#ddd; margin-bottom: 2px;}
-         </style>');
+    // _wd('Start: '.date('Y-m-d H:i:s').'<style>body{background:#eee; color:#456;}
+    //         .debug{background:#ddd; margin-bottom: 2px;}
+    //      </style>');
 
     _wd('request uri is '.$_SERVER["REQUEST_URI"]); 
     _wd('<pre>GET: '.print_r($_GET, 1).'</pre>');