Unanswered
			
			
 
			
	
		
			
		
		
		
		
	
			
		
		Hello All! Is There Any Way To Attach To A Task/Worker In A Terminal? I Have Jobs Which Fall Into Pdb Upon An Error, And It Would Be Very Helpful To Be Able To Connect To Them And Interact With The Debugger.
I am wondering if there is a way for me to connect to a currently worker process and interact with anything in the script with expects user input. For example, if I submitted a task that had this as its script:
# ... other stuff
import code
code.interact()
would there be any way for me to connect and actually use the interactive Python session it drops into?
352 Views
				0
Answers
				
					 
	2 years ago
				
					
						 
	2 years ago