-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Before creating a new issue, please check the FAQ to see if your question is answered there.
Environment data
- debugpy version: 1.62
- OS and version: Windows 10
- Python version (& distribution if applicable, e.g. Anaconda): 3.10
- Using VS Code or Visual Studio: VS code
Steps to reproduce:
- Set the new 'DEBUGPY_TRACE_DEBUGPY' flag. This allows the debugger to see debugpy threads.
- Start VS code (so that it uses this environment variable) and open a notebook
- Debug a cell
- Finish debugging the cell (if it hasn't already)
- Start another VS code to debug the first
- Attach to the adapter process
- Check the list of threads. It should show something like so:
- Debug the same cell again
- Check list of threads in other VS code
- Repeat
The 'accept_worker' thread list keeps growing.
Not sure if this is problem in the debug commands sent from VS code (maybe it never actually detaches?) or if debugpy is not cleaning things up on disconnect.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working


