- Set the environment variable:
PYTHONASYNCIODEBUG=1
- Configure Python logging:
logging.basicConfig(level=logging.ERROR)
See also: Debug mode of asyncio (ref doc).
PYTHONASYNCIODEBUG=1
logging.basicConfig(level=logging.ERROR)
See also: Debug mode of asyncio (ref doc).