Closed spoenemann closed 2 years ago
It seems like the out files aren't correctly set by default:
They should look like this:
Debugging the .ts files of the hello-world project works fine. It's just the langium library files that are not correctly mapped. Isn't the outFiles
setting just for the local project?
Nope, it's not only for the local project. If you're trying to debug .ts
code from a node_module, you need to add the js files to the outFiles
for vscode to pick up the source maps.
Removing "${workspaceFolder}/packages/langium/lib/**/*.js"
from the mentioned launch config prevents you from debugging the langium core codebase (just tested it).
Langium version: 0.5.0-next.f2b3802 Package name: langium
Steps To Reproduce
The current behavior
The debugger jumps to the .js code. The .ts breakpoint is not bound.
The expected behavior
Debugging the .ts code should work.