---
title: "livedebugging | Grafana Cloud documentation"
description: "Learn about the livedebugging configuration block"
---

# `livedebugging`

`livedebugging` is an optional configuration block that enables the [live debugging feature](/docs/grafana-cloud/send-data/alloy/troubleshoot/debug), that streams real-time data from your components directly to the Alloy UI.

By default, [live debugging](/docs/grafana-cloud/send-data/alloy/troubleshoot/debug) is disabled and must be explicitly enabled through this configuration block to make the debugging data visible in the Alloy UI.

> Note
> 
> The live debugging feature uses the Alloy UI to provide detailed insights into the data flowing through your pipelines. To ensure that your data remains secure while live debugging is enabled, configure TLS in the [http block](/docs/grafana-cloud/send-data/alloy/reference/config-blocks/http).

## Usage

Alloy ![Copy code to clipboard](/media/images/icons/icon-copy-small-2.svg) Copy

```alloy
livedebugging {

}
```

## Arguments

You can use the following arguments with `livedebugging`:

Expand table

| Name      | Type   | Description                         | Default | Required |
|-----------|--------|-------------------------------------|---------|----------|
| `enabled` | `bool` | Enables the live debugging feature. | `false` | no       |

## Example

The following example enables `livedebugging`:

Alloy ![Copy code to clipboard](/media/images/icons/icon-copy-small-2.svg) Copy

```alloy
livedebugging {
  enabled = true
}
```
