---
title: thunder.DebugOptions
description: 'options can be dynamically registered, currently registered ones are below'
canonical: >-
  https://lightning.ai/docs/thunder/stable/api-reference/generated/thunder.DebugOptions
---
# thunder.DebugOptions {#thunder-debugoptions}

### `class thunder.DebugOptions(**options)` {#thunder.DebugOptions}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/core/options.py#L144-L205)

Bases: [`object`](https://docs.python.org/3/builtins/functions.html#object "(in Python v3.15)")

options can be dynamically registered, currently registered ones are below

Keyword Arguments:

*   **check\_traces** – bool | int=False Check traces for consistency. Pass True to enable.
    
*   **record\_interpreter\_history** – bool=False record interpreter history (use thunder.last\_interpreter\_log to access)
    
*   **show\_interpreter\_progress** – bool=False show progress while running the interpreter
    

#### `__init__(**kwargs)` {#thunder.DebugOptions.__init__}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/core/options.py#L148-L159)

Methods

- [`__init__(**kwargs)`](#thunder.DebugOptions.__init__)
- `list_options([docstr])`
- `register_option(name, typ, default[, doc])`

Attributes

- `check_traces`
- `record_interpreter_history`
- `show_interpreter_progress`

---

**Navigation**

- Parent: [Generated](/docs/thunder/0.2.6/api-reference/generated.md)
