{ "version": "0.2.0", "configurations": [ { "name": "Python Debugger: Flask", "type": "debugpy", "request": "launch", "module": "flask", "python": "${workspaceFolder}/.venv/bin/python", "env": { "FLASK_APP": "app.py", "FLASK_DEBUG": "1" }, "args": [ "run", "--no-debugger", "--no-reload", "--host", "0.0.0.0", "--port", "5001" ], "jinja": true }, { "name": "Python Debugger: Attach", "type": "debugpy", "request": "attach", "connect": { "host": "localhost", "port": 5678 } } ] }