Skip to content

Sourcemaps for the yaml server project #745

@brifly

Description

@brifly

Summary

I'd like to contribute to this project but at the moment Im having some issues with getting sourcemaps working with the yaml-language-server project.

I have gone through the steps on the contributing.md and I can get the extension to run in the debugger fine. I can step through the extension ok and set breakpoints vscode-yaml. Breakpoints fail to bind on yaml-language-server however. I can make changes and see console.trace() output in the debug console however and if I force it to break using a debugger statement it will break in vscode-yaml\dist\languageserver.js. The dist folder in the vscode-yaml does contain a sourcemap for languageserver.js. The yaml-language-server out/server/src

Is there anything else I need to do to be able to debug the language server ts files when running through the vscode-yaml plugin?

Relevant information

I had an earlier problem with the default port that inspect listening on so I changed it in both launch.json of the server project and in /src/node/yamlClientMain.ts.

I've tried both windows and wsl, both have the same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions