mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Another workaround for https://bugs.python.org/issue37380
This commit is contained in:
parent
9bb539a2fc
commit
522c3743f0
1 changed files with 3 additions and 2 deletions
|
|
@ -273,8 +273,9 @@ class Session(object):
|
|||
self.backchannel = None
|
||||
|
||||
# Work around https://bugs.python.org/issue37380
|
||||
if self.debuggee is not None and self.debuggee.returncode is None:
|
||||
self.debuggee.returncode = -1
|
||||
for popen in self.debuggee, self.adapter:
|
||||
if popen is not None and popen.returncode is None:
|
||||
popen.returncode = -1
|
||||
|
||||
@property
|
||||
def ignore_unobserved(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue