# 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/fb6ab993a73180538f6cca876b3c85d46c08845f/libs/core/langchain_core/globals.py#L47)