<human>:  How to attach debugger to a python subproccess?
<bot>: Here is some code to attach debugger pdb to class `ForkedPdb`

ForkedPdb().set_trace()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.