Che-Theia supports the Debug Adapter Protocol. This protocol defines a generic way for how a development tool can communicate with a debugger. It means Che-Theia works with all implementations.
-
A running instance of Eclipse Che. To install an instance of Eclipse Che, see Che 'quick-starts'.
To debug an application:
-
Click Debug → Add Configuration to add debugging or launch configuration to the project.
-
From the pop-up menu, select the appropriate configuration for the application that you want to debug.
-
Update the configuration by modifying or adding attributes.
-
Breakpoints can be toggled by clicking the editor margin.
-
Open the context menu of the breakpoint to add conditions.
-
To start debugging, click View → Debug.
-
In the Debug view, select the configuration and press F5 to debug the application. Or, start the application without debugging by pressing Ctrl+F5.