My version is simpler for Windows to debug Streamlit, it debug the app file in the root of the openned folder
{
// 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: Streamlit",
"type": "debugpy",
"request": "launch",
"module": "streamlit",
"args": [
"run",
"app.py",
"--server.runOnSave=true"
],
"jinja": true
}
]
}