Did you know ... Search Documentation:
Predicate prolog:debug_control_hook/1