Skip to content

Unable to preview named import for ts with sourcemap #1383

@liuxingbaoyu

Description

@liuxingbaoyu

Describe the bug
When debugging ts files with source maps, named imported variables are not previewed properly.

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/liuxingbaoyu/jsdebug-sourcemap-bug
  2. yarn / npm i
  3. set breakpoint at src\util\scope.ts L18
  4. start debugging Launch Program
  5. preview BIND_SCOPE_LEXICAL
  6. see error

**VS Code Version: 1.71.0 (user setup)

Additional context
image
image

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buggood first issueIssues identified as good for first-time contributors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions