> For the complete documentation index, see [llms.txt](https://alphadocs.dualite.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alphadocs.dualite.dev/prompting/troubleshoot-with-prompts.md).

# Troubleshoot with prompts

### **Why Prompt-Based Debugging Works**

With the right prompt, you can do more than create — you can dissect, inspect, and repair your existing screens or logic. When something feels off, stops working, or suddenly disappears, Dualite guides you through a clear, step-by-step debugging process using nothing but prompts.

You need to be giving it two core data points of **what is going wrong**:

1. A reference image if something visually is not aligned (for example, there is not a nav bar where it was supposed to be) in the bottom-right chatbox
2. A specific, concise, and detailed prompt on what is not there and what should be there ideally.

### **Example: Gemini AI integration**
