- Be Descriptive and Technical: When it comes to such issues, some technical details go a long way to solving your issues efficiently.
While Emergent can self-diagnose and solve 99% of common errors independently, some issues may need your intervention to avoid wastage of credits. This is the guide that enables you.
- Utilize Console Debugging Tools: Every browser comes with debugging tools integrated - using this option will increase your chances at a quick issue resolution by a lot. (More on this later.)
- Take Screenshots, Copy Errors: For errors where a toast notification (In-App Notification in your app preview) pops up with an error message, or a red “Uncaught Runtime Error” shows up, copy the error text and share it with the agent in chat.
This allows the agent to understanding your issues and provide solutions more effectively.
Category A - Missing Functionalities
In some cases, you may observe that a requested functionality has been partially implemented or implemented in a way you wish to change. Let’s look at the most effective prompt template you can use in your own builds:Effective Prompt Template:Do note, many of these details will be asked by the agent itself as clarifying questions. All you have to do is refer to your chat and consult the prior messages.
Category B - Unexpected Errors or Bugs
Bugs and Unexpected Errors are a part of coding and may come up from time to time. (Although the frequency of this on Emergent is lesser than when manual coding.)Here is the right way to approach fixing these errors: Okay, this one’s a loaded prompt. Let’s break this up into simple to understand sections.
- Test Issue and Location: What functionality is broken? Which part of your app is breaking?
- Expected/Current Behaviour: What did you think would happen - and what actually happens?
- Error Messages: This information is visible in the browser debug tool. You can open this pane by right-clicking the screen and clicking Inspect; or just press Fn + F12.
Once you’ve opened that, you’ll see the code that makes the frontend tick. What we need to see is the Console tab and the Network Tab. (Here’s a video to help you locate these) - Steps to Reproduce: This explains the steps you took before reaching the error in question. What buttons did you click? What active links did you click? This will help Emergent zero in on the issue.