29 lines
667 B
JSON
29 lines
667 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "🔍 Debug Streamlit",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
|
|
// Tell VS Code to use `python -m streamlit run ...`
|
|
"module": "streamlit",
|
|
|
|
// Replace `app.py` (or dashboard.py) with your entry-point
|
|
"args": [
|
|
"run",
|
|
"dashboard.py",
|
|
|
|
// (optional but highly recommended) disable the auto-reloader
|
|
"--server.runOnSave=false"
|
|
],
|
|
|
|
// so you can interact with the app and see logs
|
|
"console": "integratedTerminal",
|
|
|
|
// only step into *your* code, not the Streamlit internals
|
|
"justMyCode": true
|
|
}
|
|
]
|
|
}
|