Communicate Javascript console output via Python logging

Offen
#890 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
javascript, python
Bereich
full-stack

Rechercherichtung

No files or tests are named. Start by reading the new messaging schema discussed in PR #881 and the context in related issue #346; trace how client-side console output could reach the server. Done means JavaScript warnings and exceptions appear in the Python console only when ReactPy debug mode is enabled.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

priority-3-low
Current Situation

Javascript warnings and exceptions are currently not visible within the Python console. This feels fairly fragmented, as Python developers won't expect to check the client side console for warnings/errors.

Proposed Actions

By using our new messaging schema, all client-sided console output should be redirected to the server and logged the within the Python console.

This should only occur when ReactPy is in debug mode.

Related:

  • #346
Vorherrschende Sprache
Python
Sterne
8.1k
Forks
332
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus reactive-python/reactpy

Alle Issues in reactive-python/reactpy

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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