snoop
snoop copied to clipboard
How to debug coroutines?
The title is self explanatory. How to debug coroutines, tasks, futures using snoop or whatever else? Asking this because snoop, as well as birdseye deliberately chose to not support coroutines.
The reasoning here is similar to https://github.com/alexmojaki/birdseye/issues/78.
It's also based on PySnooper's choice not to support coroutines to avoid keeping the trace function around for too long, as discussed in https://github.com/cool-RR/PySnooper/pull/65
Try using a normal debugger like pdb or your IDE. I have no idea what the results will be like.