public function __construct($title = '', $icon = '')
 {
     parent::__construct($title, $icon);
     if (!self::$ready) {
         self::$ready = true;
         DebugConsoleRenderer::renderStyles();
         echo "<style>body { font-family: sans-serif }</style>";
     }
 }
 private static function render()
 {
     if (self::$devEnv && strpos($_SERVER['HTTP_ACCEPT'], 'text/html') !== false) {
         echo "\n<!-- PHP WEB CONSOLE -->\n";
         DebugConsoleRenderer::renderStyles();
         DebugConsoleRenderer::renderScripts();
         DebugConsoleRenderer::renderConsole(self::getPanels());
         echo "\n<!--/PHP WEB CONSOLE -->\n";
     }
 }