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?
Using GraalVM DAP with embedded GraalJS, VS Code attaches correctly and JavaScript breakpoints work, but TypeScript breakpoints do not bind from sourcemaps.
What works:
.jsfiles workWhat does not work:
.tsfiles remain unbound in VS CodeEnvironment:
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?