Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seperate debugging #83

Open
armeausstahl opened this issue May 3, 2021 · 1 comment
Open

seperate debugging #83

armeausstahl opened this issue May 3, 2021 · 1 comment
Labels
question Further information is requested

Comments

@armeausstahl
Copy link

Hi I like the project a lot. The problem I'm currently facing is how to debug my language server in eclipse. My workflow is like this:

language-server/gradlew -p language-server unzipServer
yarn --cwd webview
yarn --cwd extension

after building I open vscode and test my changes. As you can imagine this would be more effective if I could run the language server in debug mode. But I'm not sure how to achieve this

@spoenemann spoenemann transferred this issue from eclipse-sprotty/sprotty May 3, 2021
@spoenemann spoenemann added the question Further information is requested label May 3, 2021
@spoenemann
Copy link
Contributor

Hi! I moved this issue to sprotty-server as it fits better here.

The easiest way to debug the language server is to start it as separate process and connect via local socket. Xtext has a launcher class SocketServerLauncher for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants