Wrapper around pdb allowing remote debugging via netcat or telnet. This is especially useful in a Tomcat/Jython environment where little debugging tools are available.
@tamentis, I was having difficulty debugging a Spark job locally, and my friend pointed to your repo. My Spark job was throwing an exception inside some library on the worker node, so set_trace wasn't enough. I added this post_mortem function, and got great results! The work flow was:
@tamentis, I was having difficulty debugging a Spark job locally, and my friend pointed to your repo. My Spark job was throwing an exception inside some library on the worker node, so
set_trace
wasn't enough. I added thispost_mortem
function, and got great results! The work flow was:and
nc 127.0.0.1 4444
got me right into the library's broken parts.Thanks for this little library!