1. Introduction to Component Debugging
This topic walks you through the low-code component designer’s preview feature and the app integration workflow used to validate custom component behavior in a YiDA app.2. Basic Debugging
In the low-code component designer, click Preview to test simple attribute configurations such as text, boolean, and number values. Change the attribute values to see the effects in real time. Figure 2.1-1 Basic debugging of a component3. App Integration Debugging
During custom component development, any configuration effects related tofunction must be tested through app integration debugging. This includes viewing return values and reading output from console.log() statements inside functions.
Procedure:
- Create a test app.
- Go to App Settings >> Component Management >> locate the component you developed >> click Install >> select “0.1.0 (development version, component changes sync in real time)” >> click Install. (See Figure 3.1-1)
- After installation, open the page designer, click the component panel, click Custom Components, and drag the newly installed component onto the page designer. Any changes you make in the component designer are now reflected in the page designer in real time. (See Figure 3.1-2)