-
Hi I'm a student interested in this project. I'd like to adapt my own graphical editor to run on GLSP. I've been trying to run the examples given on the GLSP website. My goal at the moment is to observe the communication between the client and the language server.
I would really appreciate any help on running any one of these three examples in a way that I can inspect the communication between the client and the language server. Thank you in advance for your help. original thread by kejni-d |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, |
Beta Was this translation helpful? Give feedback.
Hi,
to learn more about the protocol, please check out the documentation of the protocol. If you want to observe the traffic during the runtime, I guess the easiest way is to run the example in your browser, switch to the dev tools (F12) go to sources and open theia-diagram-server.ts (Ctrl-P) and set a logpoint in sendMessage() and messageReceived() logging the JSON.stringify(message).
About your issue opening an Ecore, I'm not sure unfortunately. Can you give more details on what you are trying?
To run the GLSP server, did you try following the steps in https://github.com/eclipse-glsp/glsp#building-and-running-the-glsp-backend? I believe they should be pretty much up to date. There are t…