Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Support await from debug console

Open
#261 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript, vscode
Domain
devtools

Research direction

Start at the VS Code debug console handling and compare its evaluation behavior with Firefox's debug console, where await 1 works. Confirm the current SyntaxError, then verify that await expressions and async-function results can be inspected in VS Code without that error.

Written by the indexing model from the issue text.

Description

enhancement

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.

Dominant language
TypeScript
Stars
447
Forks
76
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firefox-devtools/vscode-firefox-debug

All issues in firefox-devtools/vscode-firefox-debug

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.