mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Merge pull request #1 from int19h/1776
Fix https://github.com/microsoft/ptvsd/issues/1776
This commit is contained in:
commit
784f7bc271
2 changed files with 36 additions and 46 deletions
|
|
@ -790,8 +790,6 @@ class Session(object):
|
|||
|
||||
# FIXME: "exited" event is not properly reported in attach scenarios at the
|
||||
# moment, so the exit code is only checked if it's present.
|
||||
if self.start_request.command == "launch":
|
||||
assert self.exit_code is not None
|
||||
if self.debuggee is not None and self.exit_code is not None:
|
||||
assert self.debuggee.returncode == self.exit_code
|
||||
return self.exit_code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue