Tag Archives: Debug

OpenSencillo simple debug

You can add pretty debug. This tool not work correct if your server using PHP xdebug module.

  1. Open yourcode.php to edit your new webpage.
  2. Add code:
    <?php
      $seo=new headerSeo;
      $seo->encode();
      $seo->robots();
      echo $seo->save();
    ?>
    <body>
    <?php
      $var=array('my first debug','my second debug',null,123); //debuging variable
      log::vd($var); //Print pretty var_dump equivalent
    ?>
    </body>
    </html>
    
  3. Save yourcode.php and open your example.com first page where is installed OpenSencillo.
  4. Check example.com with your first pretty debug.
Facebooktwittergoogle_plusredditpinterestlinkedinmail