# Note on debugging

Debugging is a vital part of the software development process. In UI bakery, debugging information can be accessed using an additional panel inside of your action. Here you can see the payload that has been sent to the UI bakery data source. \
Besides that, you can access additional debugging information in the **Logs** tab. It displays the history of action executions and its different lifecycle states. This can be useful if your action has several steps and uses the result or error mapper.&#x20;

<figure><img src="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2FpSiIMgXsiKfwMO7a2Cmx%2FCleanShot%202024-12-02%20at%2015.43.12%402x-min.png?alt=media&#x26;token=3f735228-071c-4e20-83cd-fe1c1b23ccc9" alt=""><figcaption></figcaption></figure>

To give you an example of how it works, let's set an incorrect value for the filter we've configured in the previous step and see what happens when we try to execute the action. Now we get error messages both in the toasts and in the *Logs* tab. To fix it, we simply need to modify the value and set a correct one.\
\
When we try running the action now, it works as expected and the data is displayed correctly.

{% embed url="<https://demo.arcade.software/5poxgNAuStygXFDTgHUA?embed=&embed_desktop=inline&embed_mobile=tab&show_copy_link=true>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uibakery.io/build-from-scratch/getting-started/note-on-debugging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
