From f4e5059d7e76f57fb7d6fcaf26765c19024c1973 Mon Sep 17 00:00:00 2001 From: Sylvain Corlay Date: Mon, 26 Apr 2021 22:32:14 +0200 Subject: [PATCH] Fixes debugging with native coroutines --- ipykernel/ipkernel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipykernel/ipkernel.py b/ipykernel/ipkernel.py index 9f4259cd7..77e38a707 100644 --- a/ipykernel/ipkernel.py +++ b/ipykernel/ipkernel.py @@ -148,7 +148,7 @@ def __init__(self, **kwargs): 'file_extension': '.py' } - async def dispatch_debugpy(self, msg): + def dispatch_debugpy(self, msg): # The first frame is the socket id, we can drop it frame = msg[1].bytes.decode('utf-8') self.log.debug("Debugpy received: %s", frame)