microsoft / debugpy

An implementation of the Debug Adapter Protocol for Python

Home Page:https://pypi.org/project/debugpy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attach to process doesn't work for python 3.12

AdamYoblick opened this issue · comments

It reports python version unknown due to 3.12 not being in the enum and not being handled in the GetPythonVersion function.

See https://github.com/microsoft/debugpy/blob/161aa2683fd4a9f1eb42e4f6022f6291c436d1cd/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp

+1 facing this