Adding support for a new debugger
This section describes how to add a new debugger into Eclipse Che.
Install the latest Che-Theia plug-in Yeoman generator by running the following command:
$ npm install -g yo @theia/generator-plugin
Generate a sample by running the
yo @theia/plugincommand. When prompted, confirm the choices for Backend plug-in, Samples, and then Debugger sample. This creates a project and a ready-to-use plug-in, which can be deployed.
Replace the mock implementation of the debug adapter in the
src/vscode-mockRuntime.tsfiles with code that interacts with a real debugger or runtime.
Build the plug-in by running the
yarncommand in the root of the project.
Deploy the Che-Theia plug-in via the plug-in registry.