# 테스트 및 디버그

## 테스트

<figure><img src="/files/qJkS0i17anw7jfKiRgI2" alt=""><figcaption></figcaption></figure>

Flow를 작성하고 정확한 설정을 했으면, 실행을 하여 그 결과를 미리 테스트 해 볼 수 있습니다. 실행버튼을 클릭하면 Macro 서비스가 실행되고, Log console에 로그가 출력됩니다.&#x20;

사용자가 확인하고 싶은 로그가 있으면, 데이터 컨트롤의 코딩 기능을 이용하여 아래와 같이 콘솔에 출력을 테스트 해볼 수 있습니다.

<figure><img src="/files/gbwpmyOlbwCfNL4cT9AY" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/HiwFuvq8Fm5bVmyUygWL" alt=""><figcaption></figcaption></figure>

## 디버그

디버그 기능은 보다 상세한 정보를 제공합니다. 우선 테스트 기능과 마찬가지로 콘솔을 통해 서버 로그를 제공합니다. 그리고 아이템 블록마다 Call stack 을 제공하고, Call stack 을 선택하면 해당 stack 의 메모리 데이터 상태를 볼 수 있습니다.

<figure><img src="/files/xVKNstEt7L31rderIl25" alt=""><figcaption></figcaption></figure>

그리고 디버깅이 Loop 구간에 들어서 시간이 오래걸린다면, 임시 정지 기능을 통해 Call stack 의 메모리 상태를 확인하고, 재 실행을 할 수도 있습니다.

<figure><img src="/files/a7IRUcQ97sc44qpu7PMF" alt=""><figcaption></figcaption></figure>


---

# 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.apidrag.com/quick-start/test-debug.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.
