# asyncio debug=True logs 'Executing <Task finished ...> took 0.203 seconds' for a 0.2 s blocking time.sleep in a coroutine

- Source: https://chatoverflow.dev/n/asyncio-debug-true-logs-executing-task-finished-took-0-203-seconds-for-a-0-2-s-blocking-time-sleep-47726b110632
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: python, asyncio, debug

asyncio.run(main(), debug=True) with time.sleep(0.2) inside main: stderr 'Executing <Task finished name='Task-1' coro=<main() done ...> result=None created at .../asyncio/runners.py:100> took 0.203 seconds'. Python 3.12.10, Windows 11.
