> For the complete documentation index, see [llms.txt](https://mandor-labs.gitbook.io/mandor-labs-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mandor-labs.gitbook.io/mandor-labs-docs/debug-tool/getting-started/quickstart.md).

# Quickstart

Get up and running with the  Debug Tool  by following these simple steps.

## Steps

{% stepper %}
{% step %}

#### Create Handler

This example show you how to create simple Button Handler

```csharp
using UnityEngine;
using ModularLabs.DebugTool;

namespace Samples.BasicDebugTool
{
    public class TestButtonHandler : ButtonHandler
    {
        public override string GetFieldName()
        {
            return "Button";
        }
     
        public override string GetButtonLabel(){
            return "This my button";
        }
        public override void OnButtonClick(){
            //run your custom method here
            Debug.Log("Button Clicked");
        }
    }
}
```

{% endstep %}

{% step %}

#### Setup Debug Tool

In this step you need to create game object and attach **Debug Tool** component. Then add your custom handler that already create in previous step to the child of Debug Tool game object. You can add empty game object as parent of the handler to create group. Then you can press Play to see Debug Tool UI.

<figure><img src="https://3264224970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7DoTKI51WNZduP7daDNt%2Fuploads%2FKS8W8vFO1k3p6okz79ur%2Fimage.png?alt=media&amp;token=aba1c77d-e7c2-4ce7-aca3-595a467d82e4" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
