Remote debugging attachment protocol
This protocol enables external tools to attach to a running CPython process and execute Python code remotely.
Most platforms require elevated privileges to attach to another Python process.
Disabling remote debugging
To disable remote debugging support, use any of the following:
- Set the
PYTHON_DISABLE_REMOTE_DEBUGenvironment variable to1before starting the interpreter. - Use the
-X disable_remote_debugcommand-line option. - Compile Python with the
--without-remote-debugbuild flag.
© 2001 Python Software Foundation
Licensed under the PSF License.
https://docs.python.org/3.14/howto/remote_debugging.html