TL;DR: I used Claude Code to write the TUI debugger of my dreams: https://pypi.org/project/textual-debugger/ It's built with textual and debugpy so can do all the things possible you'd would expect with the Debug Adapter Protocol (remote attach, thread/process inspection).
And then some!
I added a JSON-RPC interface so the debugger can be controlled by external tools (eg an AI agent). I also added the capability to run the debug target in a separate terminal which is handy for debugging applications that make demands on the terminal (like curses / rich / textual apps).
Here's a video of that in action: https://youtu.be/121aihjAQ8g
Screenshots: - https://github.com/AlDanial/tdb/blob/main/gallery/async_brea... - https://github.com/AlDanial/tdb/blob/main/gallery/async_task... - https://github.com/AlDanial/tdb/blob/main/gallery/multiproce... - https://github.com/AlDanial/tdb/blob/main/gallery/threading_...
Give it a try! pip install textual-debugger