mt.base.debug_process
Useful module to debug a process remotely.
The process to be remotely debugged should import this module and invoke listen()
during
startup. Invoke debug_process()
with the PID of the process being the argument. As of
2020/11/20, as long as you import mt.base, this module is imported and registered automatically.
Reference: https://code.activestate.com/recipes/576515/
Functions
listen()
: Undocumented.debug_process()
: Interrupt a running process and debug it.
- mt.base.debug_process.listen()
- mt.base.debug_process.debug_process(pid)
Interrupt a running process and debug it.