~/talk

Live process manipulation with Python 3.14's zero overhead debugging interface

Talkat PyCon US 2026 · 2026-05-13..05-19· [python]
links:none on file
slides:none on file

Python 3.14 actually lets you run a real script inside a running interpreter via sys.remote_exec, so you can inject debugpy and use the Debug Adapter Protocol to get full IDE breakpoints and inspection on a live FastAPI pod in local Kubernetes without restarting or changing code. Requirements: Python 3.14 in the container, debugpy present, and sys_ptrace enabled. A CLI called wand debug copies attacher/debug scripts, injects debugpy, sets up port‑forwarding, and works in seconds; watch for multi‑process setups and reloads that change PIDs.

AI-written summary · about

  1. 0:00Python 3.14 debugging intro
  2. 1:31Debugging containerized apps
  3. 4:38sys.remote_exec safety
  4. 6:44How sys.remote_exec works
  5. 8:51Debugging with DAP debugpy
  6. 10:53Security with sys.remote_exec
  7. 14:03Debug Wand building
  8. 17:12Debug Wand step by step
  9. 19:21Attaching to processes gotchas
  10. 21:46Future possibilities wrap-up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.