Hi @Володимир Кравчук ,
Welcome to Microsoft Q&A forum.
After doing some check and test, I think this may be a potential issue, as some Python and Debugging related files are not installed in the correct folder.
I suggest you try following workaround currently:
Go to C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Microsoft\VC\v170\Platforms\x64\ImportAfter
folder and check if Microsoft.PythonTools.Debugger.VCDebugLauncher.targets
and Microsoft.PythonTools.Debugger.VCDebugLauncher.xaml
files exist. If they don’t exist, please navigate to C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Microsoft\VC\v160\Platforms\x64\ImportAfter
folder, find and copy the existing one or two of them to the previous C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Microsoft\VC\v170\Platforms\x64\ImportAfter
folder. Then close all VS instances and open VS again to check if the Python/Native Debugging
option appears.
Best Regards,
Tianyu
- If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.