Disables tracing for the given thread if DEBUGPY_TRACE_DEBUGPY is not set. DEBUGPY_TRACE_DEBUGPY is used to debug debugpy with debugpy
(thread)
| 156 | |
| 157 | |
| 158 | def hide_thread_from_debugger(thread): |
| 159 | """Disables tracing for the given thread if DEBUGPY_TRACE_DEBUGPY is not set. |
| 160 | DEBUGPY_TRACE_DEBUGPY is used to debug debugpy with debugpy |
| 161 | """ |
| 162 | if hide_debugpy_internals(): |
| 163 | thread.pydev_do_not_trace = True |
| 164 | thread.is_pydev_daemon_thread = True |
no test coverage detected
searching dependent graphs…