You need to configure the debugger mechanism to work on threads other than python (this is done automatically when creating a Python thread, but when you create a thread for which Python has no creation hook, you have to do it yourself) - note that for for some frameworks, such as QThread / Gevent, things are beheaded, so we know about initialization and run the debugger, but for other frameworks you have to do it yourself.
, :
import pydevd
pydevd.settrace(suspend=False, trace_only_current_thread=True)
, suspend=True, .