The predicate trace/2 activates debug mode (see debug/0). Each time a port (of the 4-port model) is passed that has a trace-point set the goal is printed as with trace/0. Unlike trace/0 however, the execution is continued without asking for further information. Examples:

The predicate debugging/0 shows all currently defined trace-points.
port.
+<option>,
-<option>, ?<option> or a list of such options.
+<option> sets a style checking option, -<option> clears
it and ?<option> succeeds or fails according to the current
setting. consult/1 and derivates resets the style checking options to
their value before loading the file. If --for example-- a file containing
long atoms should be loaded the user can start the file with:
:- style_check(-atom).
Currently available options are:
