Availability:
:- use_module(library(chr/chr_runtime)).
chr_leash(+Spec)full to stop 
at all ports, none or off to never stop, and default 
to stop at the call,
exit, fail, wake and apply 
ports. See also leash/1.