diff --git a/.gitignore b/.gitignore index a6e06cd..9b6916e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,3 @@ __pycache__/ .venv/ venv/ *.log -.vscode/ \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2d61aaa --- /dev/null +++ b/.vscode/launch.json @@ -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"] + } + ] +} \ No newline at end of file