Skip to content

Can’t access module-level variables from debugger breakpoint #6369

Open
@fatcerberus

Description

@fatcerberus

Attempting to evaluate a variable which exists in module scope, for example an imported identifier, while paused at a breakpoint inside a function within that same module, will throw a ReferenceError, as though the identifier isn’t in scope.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions