feat: Enable the asyncio debug mode in our debug mode
If the asyncio debug mode is enabled, it additionally keeps track of the stack trace of where the tasks are created. (TODO: chaining of task creation tracebacks)
the port number of aiomonitors changes due to better management of ports?
the port number of aiomonitors changes due to better management of ports?
Manager and agent's aiomonitor ports were overlapping when there are two or more worker processes in the manager (the actual aiomonitor port used by each worker process = the configured port number + pidx). Unfortunately in development setups this did not cause any explicit error because all these processes run in the same user privilege and the SO_REUSEPORT option. In production, we are already allocating the same "more distant" port numbers.
I will make separate PRs for future updates of aiomonitor-ng.