mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-24 18:16:21 +03:00
pythonPackages.debugpy: init at 1.0.0b12
This commit is contained in:
parent
e932a72089
commit
a408cd9e7c
4 changed files with 97 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
|||
diff --git a/tests/debug/session.py b/tests/debug/session.py
|
||||
index 2b39106..6d45a10 100644
|
||||
--- a/tests/debug/session.py
|
||||
+++ b/tests/debug/session.py
|
||||
@@ -625,6 +625,7 @@ class Session(object):
|
||||
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")
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue