Chapter 6: Debugging Code Components
In the previous chapters, we created two code components, looked at the process for testing code components, applied styles, and added a preview image.
As you begin to develop more complex code components, you might come across a need to debug them to either resolve a bug or to understand the flow of data within a code component. In this chapter, you will learn how to debug code components in a more interactive way, which can help you identify bugs and build better code components. By the end of this chapter, you will be able to debug any code component, whether it's local or hosted in an app.
In this chapter, we are going to cover the following main topics:
- Overview of the test harness
- Debugging using the test harness
- Debugging components hosted in model-driven apps
- Debugging components hosted in canvas apps