Skip to content

VSCode Debugger Step-Into (F11) Not Working with node:async_hooks #736

@talkohavy

Description

@talkohavy

Acknowledgements

  • I read the documentation and searched existing issues to avoid duplicates
  • I understand this is a bug tracker and anything other than a proven bug will be closed
  • I understand this is a free project and relies on community contributions
  • I read and understood the Contribution guide

Minimal reproduction URL

https://github.com/talkohavy/tsx-bug-report.git

Problem & expected behavior (under 200 words)

When debugging TypeScript files with tsx in VS Code, the debugger's "Step Into" (F11) functionality fails to work correctly when node:async_hooks is imported and used, even if the hook is not actively doing anything. The debugger steps over async function calls instead of stepping into them.

Expected Behavior: When pressing F11 (Step Into) on line 15 (await stepIntoMe();), the debugger should step into the stepIntoMe() function.

Actual Behavior: When pressing F11 (Step Into) on line 15 (await stepIntoMe();), the debugger steps over the function call instead of stepping into it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions