tdebug(+ThreadId)Prepare ThreadId for debugging using the graphical tracer.
This implies installing the tracer hooks in the thread and switching the
thread to debug mode using debug/0.
The call is injected into the thread using thread_signal/2.
We refer to the documentation of this predicate for asynchronous
interaction with threads. New threads created inherit their debug mode
from the thread that created them.