debug_this_thread#
- debugpy.debug_this_thread() None #
Makes the debugger aware of the current thread.
Must be called on any background thread that is started by means other than the usual Python APIs (i.e. the “threading” module), in order for breakpoints to work on that thread.