This directory provides the initial setup of the package architecture and environment for a node based GLSP Server.
It is based on the TaskList
example diagram language.
For more detailed instructions and information please confer to the README in the parent directory.
To build the server package execute the following in the glsp-server
directory:
yarn
To start the TaskList
server process execute:
yarn start
To debug the GLSP Server a launch configuration is available in the Run and Debug
view (Ctrl + Shift + D).
Launch Tasklist GLSP Server
This config can be used to manually launch theTaskList GLSP Server
node process. Breakpoints in the source files of theglsp-server
directory will be picked up. In order to use this config, the Theia application backend has to be launched inExternal
server mode (seeLaunch TaskList Theia Backend (External GLSP Server)
).
To run TypeScript in watch-mode so that TypeScript files are compiled as you modify them execute:
yarn watch
Alternatively to executing these commands manually, you can also use the preconfigured VSCode tasks (via Menu Terminal > Run Task...):
Build TaskList GLSP Server
Watch TaskList GLSP Server
StartTaskList GLSP Server
For more information, please visit the Eclipse GLSP Umbrella repository and the Eclipse GLSP Website. If you have questions, please raise them in the discussions and have a look at our communication and support options.