with some extra debugging information.