Skip to content

Instantly share code, notes, and snippets.

@gustavz
Created July 26, 2023 08:36
Show Gist options
  • Save gustavz/e875cf951ee6a1e935c186c248fdc2d7 to your computer and use it in GitHub Desktop.
Save gustavz/e875cf951ee6a1e935c186c248fdc2d7 to your computer and use it in GitHub Desktop.

Revisions

  1. Gustav von Zitzewitz created this gist Jul 26, 2023.
    22 changes: 22 additions & 0 deletions launch.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    {
    "version": "0.2.0",
    "configurations": [
    {
    "name": "Python: Streamlit",
    "type": "python",
    "request": "launch",
    "module": "streamlit",
    "env": {
    // any .env variables you may have
    "STREAMLIT_APP": "${file}",
    "STREAMLIT_ENV": "development",
    },
    "args": [
    "run",
    "${file}"
    ],
    "jinja": true,
    "justMyCode": true
    }
    ]
    }