Skip to content

VS Code DAP does not bind TypeScript breakpoints from sourcemaps #1039

Description

@roms751

Using GraalVM DAP with embedded GraalJS, VS Code attaches correctly and JavaScript breakpoints work, but TypeScript breakpoints do not bind from sourcemaps.

What works:

  • VS Code attaches through DAP
  • execution stops correctly
  • breakpoints in generated .js files work
  • sourcemaps are generated and referenced correctly
  • the same sourcemaps work in Chrome DevTools

What does not work:

  • breakpoints in original .ts files remain unbound in VS Code

Environment:

GraalVM 25.0.2
embedded Java application using org.graalvm.polyglot.Context
GraalJS started with DAP
VS Code attached through DAP

Question:
Is TypeScript breakpoint binding from sourcemaps expected to work in VS Code via GraalVM DAP?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions