check if debug is setup before logging