2020-06-06 23:06:28 +01:00
|
|
|
diff --git a/tests/debug/session.py b/tests/debug/session.py
|
2021-05-05 00:18:39 +01:00
|
|
|
index 101492f..4ee7cfb 100644
|
2020-06-06 23:06:28 +01:00
|
|
|
--- a/tests/debug/session.py
|
|
|
|
+++ b/tests/debug/session.py
|
2021-05-05 00:18:39 +01:00
|
|
|
@@ -630,6 +630,7 @@ class Session(object):
|
2020-06-06 23:06:28 +01:00
|
|
|
if "PYTHONPATH" in self.config.env:
|
|
|
|
# If specified, launcher will use it in lieu of PYTHONPATH it inherited
|
|
|
|
# from the adapter when spawning debuggee, so we need to adjust again.
|
|
|
|
+ self.config.env.prepend_to("PYTHONPATH", os.environ["PYTHONPATH"])
|
|
|
|
self.config.env.prepend_to("PYTHONPATH", DEBUGGEE_PYTHONPATH.strpath)
|
|
|
|
return self._request_start("launch")
|
|
|
|
|