Updated Debug to refer to correct file and location, updated index.php to use debugLog over ->log()