Skip to content

How do I debug the language server #376

Answered by msujew
paulfrench asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @paulfrench,

So basically, the language server is a second process, therefore you need a second debug session/config to actually debug it. We use this attach debug config for this:

https://github.com/langium/langium/blob/221b8cff0f48480c2d07de74bcdf81d6c237d339/.vscode/launch.json#L26-L41

We should probably think about adding it to the yeoman generator project...

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@spoenemann
Comment options

@paulfrench
Comment options

Answer selected by paulfrench
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants