Python asyncio debugging example Python asyncio debugging example python-3.x python-3.x

Python asyncio debugging example


asyncio performs check for PYTHONASYNCIODEBUG on module importing.

Thus you need setup environment variable before very first asyncio import:

import osos.environ['PYTHONASYNCIODEBUG'] = '1'import asyncio# rest of your file