Did you know ... Search Documentation:
Standalone Mode: Debugging Prolog Code Used in an Application