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

Support await from debug console

Open
#261 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
447
Forks
76
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.