Fix App class for prolog debug