# get_debug

> **Function** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/globals/get_debug)

Get the value of the `debug` global setting.

## Signature

```python
get_debug() -> bool
```

## Returns

`bool`

The value of the `debug` global setting.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/348c9dc572599947d2d7d33d6a5b8b936e92a1d4/libs/core/langchain_core/globals.py#L47)