How can I connect my running Emacs to the running Python application's debugger?

When developing large Python applications, the debugger is invoked by running the full application in debug mode. Python's `pdb` allows a remote connection.

How can I tell Emacs that there's a running instance of the application, here's the PIN to authenticate, and please sync the code buffers and let me set breakpoints, step through, etc. using Emacs?