I'm using following trick to get debugger started on error Starting python debugger automatically on error
Any idea how to make this also work for errors that happen in newly created threads? I'm using thread pool, something like http://code.activestate.com/recipes/577187-python-thread-pool/