Added debug as a variable instead of import