From 31f4e23abab8ac11f4f0299462477123820ba8cc Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 29 Jul 2018 11:43:26 +0000 Subject: [PATCH] Enable debugging in examplebot --- examplebot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examplebot.py b/examplebot.py index 01cf376..7d355f5 100644 --- a/examplebot.py +++ b/examplebot.py @@ -1,4 +1,9 @@ import asyncio +import logging + +# Turn all debugging on +asyncio.get_event_loop().set_debug(True) +logging.basicConfig(level=logging.DEBUG) import yaboli from yaboli.utils import *