microsoft / microsoft/vscode-python-debugger

Add support for running a web app with the run button

Aperta
#118 3 commenti 3 reazioni 1 assegnatario Vedi su GitHub

@karthiknadig ci sta già lavorando.

Dal 8/8/2024.

feature-request needs community feedback
Lingua principale
TypeScript
Stelle
181
Fork
126
Merge medio
2g 3h
PR unite (30g)
3

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.