mirror of
https://github.com/creyD/apilog.git
synced 2026-04-15 21:00:35 +02:00
feat: added initial config
This commit is contained in:
35
.vscode/launch.json
vendored
Normal file
35
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Run",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "uvicorn",
|
||||
"args": ["app.main:app", "--reload", "--port", "9000"],
|
||||
"jinja": true,
|
||||
"justMyCode": true,
|
||||
"env": {
|
||||
"PYDEVD_DISABLE_FILE_VALIDATION": "1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Migrate",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "alembic",
|
||||
"args": ["upgrade", "head"],
|
||||
"jinja": true,
|
||||
"justMyCode": true
|
||||
},
|
||||
{
|
||||
"name": "Make Migrations",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "alembic",
|
||||
"args": ["revision", "--autogenerate"],
|
||||
"jinja": true,
|
||||
"justMyCode": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user