Last active
July 17, 2021 17:02
-
-
Save isaquealves/f79230dd3eeeaee5f86942d86be347f6 to your computer and use it in GitHub Desktop.
Launch.json for FastAPI app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
//Put this file inside .vscode directory at project root directory | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Python: FastAPI", | |
"type": "python", | |
"request": "launch", | |
"module": "uvicorn", | |
"args": [ | |
"<app name or entrypoint>:app", // E.g: simpleapp.main:app | |
"--host=0.0.0.0", | |
"--port=8000", | |
"--log-level info", | |
"--reload" | |
], | |
"jinja": true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment