The coolest feature in Python 3.14: sys.remote_exec()
2026-07-17 , Auditorium Hall (S1)

Have you ever needed to debug a live Python process but couldn't restart it? Didn't want to redeploy with debug flags or manage sidecar containers just to debug your application?

In this talk, I'll show you why sys.remote_exec() is one of the coolest features of Python 3.14! I'll cover the basics of Python's new remote debugging capabilities and demonstrate how sys.remote_exec() can be combined with debugpy (an implementation of the Debug Adapter Protocol) to provide full IDE debugging experiences for live processes. I'll share what I learned building a tool that uses these primitives to attach debuggers to FastAPI applications running in local Kubernetes clusters.

Beyond debugging, we'll explore other use cases for sys.remote_exec() and how you can apply the feature to solve problems in your own work!


Expected audience expertise: Intermediate

Savannah Ostrowski is a Python Steering Council member, the Python 3.16 & 3.17 Release Manager, and a CPython Core Developer. She contributes across several areas of CPython, including the JIT compiler, the argparse module, WASI support, and more. She also works at FastAPI Labs, where she builds FastAPI Cloud and contributes to open source projects across the Python ecosystem.