firefox-devtools / firefox-devtools/vscode-firefox-debug

Support await from debug console

Offen
#261 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
TypeScript
Sterne
447
Forks
76
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I can't use `await` from the debug console in vscode. It shows the following error:
```
await 1
SyntaxError: await is only valid in async functions, async generators and modules
```

But this works from the debug console in firefox.

It would be really nice if we could use await expressions in vscode too, as without them it's not so easy to inspect results of async functions.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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