News for hackers. Stuff that matters.
Re:Checking Out CPython 3.14's remote debugging protocol by maeln on Wednesday July 23, 2025 @10:14AM (#44659466)
If I understand correctly, this would be very useful to debug application running on GUnicorn, Celery, etc. Apps that usually have several workers / processes / threads. Currently, it is very annoying to use pdb for that. The Debug Adapter Protocol works well for this case, but the only fully feature, and not buggy, client right now is VSCode (last I checked, the nvim implementation was still a bit buggy. Didn't try the Emacs one).

I really like debugging in a simple shell (à la gdb) so this would really be nice for my workflow.

Re:Checking Out CPython 3.14's remote debugging protocol by BossingAround on Wednesday July 23, 2025 @10:19AM (#44659537)
When debugging multi-threaded env with debugpy & VSCode, VSCode jumps to code that is active in currently active thread. Is DAP something different? From briefly looking at the docs, it seems like DAP calls debugpy for Python debugging, so we're probably talking about the same experience?
Re:Checking Out CPython 3.14's remote debugging protocol by maeln on Wednesday July 23, 2025 @10:23AM (#44659567)
yes debugpy is the implementation of dap for python