# Retrieve the Debug ID Using Console

## Introduction

You can perform live debugging using the Debug ID on the console.

## Procedure

**Step 1:** Navigate to the particular brand website.

**Step 2:** Right-click on the webpage, select **Inspect**, and then click the **Console** tab.

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

<figure><img src="/files/2LzeKjRCx1QoyhtrpzgP" alt=""><figcaption></figcaption></figure>

**Step 3:** Enter the following command: **\_mp.printDebugId()**

<figure><img src="/files/3OSdlK3DBZBgMBUdnTYk" alt=""><figcaption></figcaption></figure>

**Step Result**: The Debug ID appears on the screen.

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

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FYYnCNW3rRxvbiaT7irIc%2FRetrieve%20the%20Debug%20ID%20Using%20Console.mp4?alt=media&token=e3719937-4f65-49bd-8c89-5c5365d8970f>" %}


---

# 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.ingestlabs.com/tag-manager/live-debugging/retrieve-the-debug-id-using-console.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.
