5 ms·
One thing I have used is drop into the Python debugger (also ipdb) from within a signal handler. Then I can run a kill, and have it drop into the debugger. The
by sitkack 5y ago
One thing I have used is drop into the Python debugger (also ipdb) from within a signal handler. Then I can run a kill, and have it drop into the debugger.
There are some of cute hacks to get a remote debugger which I haven't used in years.
https://github.com/sassoftware/epdb https://github.com/sassoftware/epdb can start and connect to a remote debug instance
https://github.com/gotcha/ipdb https://github.com/gotcha/ipdb