mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
(helps #545) We move the settrace() into a thread, but make sure to wait for the thread to finish in wait_for_attach(). My only concern with the solution is that the current thread will not get debugged if enable_attach() is called but wait_for_attach() is not (and no attach happens right away). I'm going to address this in a follow-up PR by monkey-patching sys.settrace temporarily. |
||
|---|---|---|
| .. | ||
| debugger_protocol | ||
| helpers | ||
| highlevel | ||
| ptvsd | ||
| resources/system_tests | ||
| system_tests | ||
| __init__.py | ||
| __main__.py | ||
| test_setup.py | ||
| test_tests___main__.py | ||