dotnet / dotnet/dev-proxy

Press 'i' (information) to print context info

Offen
#584 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
832
Forks
89
Ø Merge
12 Std. 1 Min.
Gemergte PRs (30 T.)
23

Beschreibung

Introduce new hotkey bound to 'i' that prints current context info, including:

- full path of the config file
- list of URLs to watch
- list of enabled plugins
- ip and port the proxy is listening on
- troubleshooting link (https://aka.ms/devproxy/help)

When you run proxy, some of this information is not visible and some of it is scrolled beyond the terminal window boundaries. It's annoying to have to stop and start the proxy to get this information. Being able to press 'i' to have proxy print this information on demand makes it easier to see what's enabled and running in case you need this information mid-flight.

The output of this information should be sent to stderr so that it's not mixed with proxy's default output

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie damit, die Hotkey-Behandlung des Proxys und den Code zu finden, der Informationen zum Startkontext ausgibt. Überprüfen Sie, wie der Konfigurationspfad, die überwachten URLs, die aktivierten Plugins, die lauschende IP und der Port sowie der Link zur Fehlerbehebung verfügbar sind, und bestätigen Sie anschließend, dass das Drücken von i diese Informationen nach stderr ausgibt, ohne sie mit der normalen Proxy-Ausgabe zu vermischen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
cli, devtools
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.