Using import ipdb; ipdb.set_trace() in a async function hangs indefinitely when prefect imports are present. Using pdb does not result in the same behaviour.
Running the above script with python script.py will hang indefinitely (after printing fn() start). Removing prefect imports fixes the issue. Normal def functions do not seem affected.
Bug summary
Using
import ipdb; ipdb.set_trace()
in a async function hangs indefinitely when prefect imports are present. Usingpdb
does not result in the same behaviour.Tested in a docker container
python:3.12.2
Running the above script with
python script.py
will hang indefinitely (after printingfn() start
). Removingprefect
imports fixes the issue. Normaldef
functions do not seem affected.The installed packages are:
Version info
Additional context
No response