microsoft / microsoft/vscode-python-debugger

Add support for running a web app with the run button

Open
#118 3 comments 3 reactions 1 assignee View on GitHub

@karthiknadig is already working on this.

Since Aug 8, 2024.

feature-request needs community feedback
Dominant language
TypeScript
Stars
181
Forks
126
Avg merge
2d 3h
Merged PRs (30d)
3

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.