Skip to content

Commit 6e247fb

Browse files
authored
Merge pull request #1009 from rchiodo/rchiodo/missed_thread_for_self_trace
Missed a thread to allow debugging
2 parents 6c19aba + cccfb95 commit 6e247fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/debugpy/common/messaging.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,8 +1410,7 @@ def _enqueue_handlers(self, what, *handlers):
14101410
target=self._run_handlers,
14111411
name=f"{self} message handler",
14121412
)
1413-
self._handler_thread.pydev_do_not_trace = True
1414-
self._handler_thread.is_pydev_daemon_thread = True
1413+
hide_thread_from_debugger(self._handler_thread)
14151414
self._handler_thread.start()
14161415

14171416
def _run_handlers(self):

0 commit comments

Comments
 (0)