For FastAPI or any other configuration you might need to create a folder .vscode
, where you store your debugger config inside luanch.json
:
Example for python FastAPI:
{
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: FastAPI",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"args": ["main:app", "--port", "8000"],
"jinja": true
}
]
}