I want to debug a project written in Python 3 in Visual Studio Code, but I can\'t seem to find any way of specifying interpreter or Python version in the launch.json file.>
There is a setting trigger within the setting file:
For Python default (which is 2.7 for now)
"python.pythonPath": "python",
For Python 3:
"python.pythonPath": "python3",
Use the following command to check the Python version:
import sys print(sys.version)