# Part 1 — While True Script \[It's all what you need]

### Table of contents

1. [About While True Script](#step-1-about-while-true-script)
2. [Add from Ecosystem && Run](#step-2-add-from-ecosystem-and-and-run)
3. [Results](#step-3-results)

### Step 1 — About While True Script

Ecosystem has an app for debugging applications.\
It's called [While True Script](https://app.supervisely.com/ecosystem/apps/while-true-script)

**How does it work?**\
Every time you launch an application with UI, you send an HTML file with the UI to the Supervisely server.\
While True Script takes this file and renders it. This makes the process of creating UI applications possible.

### Step 2 — Add from Ecosystem && Run

{% embed url="<https://www.youtube.com/watch?v=CXFvMmJ1IHI>" %}
Run while true script app
{% endembed %}

### Step 3 — Results

We have successfully run our While True Script.

<img src="https://github.githubassets.com/images/icons/emoji/unicode/26a0.png" alt="warning" data-size="line"> Remember the **TASK\_ID**\
**In this case it is equal to `7715`**\
It will be useful for us to work with it.


---

# 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://developer.supervisely.com/app-development/advanced/in-depth-app-development/chapter-3-ui/part-1-while-true-script-its-all-what-you-need.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.
