# Package @google-cloud/debug-agent (7.1.1)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [7.1.1 (latest)](https://docs.cloud.google.com/nodejs/docs/reference/debug-agent/latest/overview)
- [7.1.0](https://docs.cloud.google.com/nodejs/docs/reference/debug-agent/7.1.0/overview)
- [5.2.8](https://docs.cloud.google.com/nodejs/docs/reference/debug-agent/5.2.8/overview)

## Functions

### get()

    export declare function get(): Debuglet | undefined;

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Debuglet | undefined` |   |

### start(options)

    export declare function start(options?: DebugAgentConfig | StackdriverConfig): Debuglet | IsReady;

Start the Debug agent that will make your application available for debugging with Stackdriver Debug.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `DebugAgentConfig | StackdriverConfig` Authentication and agent configuration. \[Introductory video\]<https://www.youtube.com/watch?v=tyHcK_kAOpw> |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Debuglet | IsReady` |   |

#### Example


    debug.startAgent();