 tspy(:Spec, 
+ThreadId)Set a spy point as spy/1 
and enable the thread for debugging using
tdebug/1. 
Note that a spy point is a global flag on a predicate that is visible 
from all threads. Spy points are honoured in all threads that are in 
debug mode and ignored in threads that are in nodebug mode.
tspy(:Spec, 
+ThreadId)Set a spy point as spy/1 
and enable the thread for debugging using
tdebug/1. 
Note that a spy point is a global flag on a predicate that is visible 
from all threads. Spy points are honoured in all threads that are in 
debug mode and ignored in threads that are in nodebug mode.