I'm attempting to debug a simple python file. The test.py file just contains the text print("hello"). When I select Run->Start Debugging I get a modal dialog with the following text:
h.toLowerCase is not a function
When I open the config I see:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Module",
"type": "python",
"request": "launch",
"module": "simple"
}
]
}
Here's the results of navigating to Help->About->Copy.
Version: 1.51.0 (user setup) Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c Date: 2020-11-05T18:18:23.642Z Electron: 9.3.3 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Windows_NT x64 10.0.19042
If I start a command window, I can type python or pip, so those things are in my path.
Python --version generates
3.9.0
VS Code extensions shows that I have the following extensions installed.
Python v2020.10.332292344 Python for VSCode 0.2.3
If I right click in the python file and click run python in console. It works ok. I see the text "Hello" in the console.
Python: Select Interpreter
– rioV8