From 4a6ba3b4504f00e69b69519eb24843f2fcade4bf Mon Sep 17 00:00:00 2001 From: Tim Felgentreff Date: Wed, 16 Oct 2024 13:58:12 +0200 Subject: [PATCH] Support GraalPy --- src/debugpy/launcher/debuggee.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/debugpy/launcher/debuggee.py b/src/debugpy/launcher/debuggee.py index 2d8528815..ec0c9eff1 100644 --- a/src/debugpy/launcher/debuggee.py +++ b/src/debugpy/launcher/debuggee.py @@ -58,7 +58,8 @@ def spawn(process_name, cmdline, env, redirect_output): else: kwargs = {} - if sys.platform != "win32": + if sys.platform != "win32" and sys.implementation.name != 'graalpy': + # GraalPy does not support running code between fork and exec def preexec_fn(): try: