add debug info to index.php