Skip to content

Add support for running a web app with the run button  #118

@isidorn

Description

@isidorn

Testing microsoft/vscode-python#22300

from fastapi import FastAPI

app = FastAPI()

@app.get("/")
def root():
    return {"message": "Hello World"}

If I click on the Editor Run action in the top right, the app is not actually run.
I have to go through the debug flow to choose Fast API to actually setup a proper launch.json

Could we improve the run experience so it also works?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions