Remove .vscode directory from .gitignore and add launch configuration for Flask and Pytest

This commit is contained in:
Mikhail Yevchenko
2026-04-01 11:13:58 +00:00
parent 30ecd60601
commit 4548f455a3
2 changed files with 23 additions and 1 deletions
-1
View File
@@ -4,4 +4,3 @@ __pycache__/
.venv/ .venv/
venv/ venv/
*.log *.log
.vscode/
+23
View File
@@ -0,0 +1,23 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Flask",
"type": "debugpy",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "app.py",
"FLASK_ENV": "development"
},
"args": ["run", "--host=0.0.0.0", "--port=5000"]
},
{
"name": "Pytest",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"args": ["tests/", "-v"]
}
]
}