Fix #865: Debugging through poetry drops subprocess

Handle "exited" { "pydevdReason": "processReplaced" } appropriately.

Add test for os.exec() in-place process replacement.
This commit is contained in:
Pavel Minaev 2022-06-02 13:55:59 -07:00 committed by Pavel Minaev
parent 6d049b73ab
commit 0a9b01b008
9 changed files with 155 additions and 28 deletions

View file

@ -12,3 +12,9 @@ exclude = '''
| ^/src/debugpy/_version.py
)
'''
[tool.pyright]
pythonVersion = "3.7"
include = ["src"]
extraPaths = ["src/debugpy/_vendored/pydevd"]
ignore = ["src/debugpy/_vendored/pydevd", "src/debugpy/_version.py"]