forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area-debuggingcommunity askFeature request that the community expressed interest inFeature request that the community expressed interest infeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds proposalNeed to make some design decisionsNeed to make some design decisionsverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Description
debugpy doesn't support versions below Python 3.7. However, the diagnostic that it prints out to the console is not reported by VSCode, and thus debugging simply fails with no explanation (see e.g. #19427).
To prevent this, the extension should check Python version number for compatibility before spawning the adapter. To avoid hardcoding the version number, it can be parsed directly from dist-info/METADATA
file in the debugpy package; it should contain a line like:
Requires-Python: >=3.7
RaquelGMC, yuks4, cblades, realuser, CorralPeltzer and 8 moreManPython
Metadata
Metadata
Assignees
Labels
area-debuggingcommunity askFeature request that the community expressed interest inFeature request that the community expressed interest infeature-requestRequest for new features or functionalityRequest for new features or functionalityneeds proposalNeed to make some design decisionsNeed to make some design decisionsverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded