index.php debug enabled & constants integration