PTVS
PTVS copied to clipboard
Start without Debug and Start with Debug button not available in right click menu
"Start without Debug" and "Start with Debug" buttons not showing at all for stand alone python file
Steps to Reproduce
- Create any Empty Console application
- Create and add the new module.py into the project
- Open module.py
- In code editor right click to open the context menu
- "Start without Debug" and "Start with Debug" are not shown at all according to the article
Expected behavior The two buttons on the context menu shown without any problem in 2019, but not in 2022
Additional context and screenshots
Sample Code
import sys
print(sys.path)
Diagnostics file Diagnostic Info 2023-03-01T181944.txt
This does not reproduce for me in Python projects. Looking at the log, it sounds like all the project files in your solution are .vcxproj, so this is a C++ project with a Python file in it? If so, this would be expected behavior - each project system is in charge of running things in its own project, and, of course, the C++ one wouldn't know what to do with Python.
@int19h It works in VS2019, but not VS2022.