# `Debug` > Generated from `core/` by `contract/lua-reference/generate.py`; never edited by hand. Every function the core registers on `Debug` is listed, and nothing else: a name that isn't here isn't in the core (the card scripts' `library/` defines the rest). A method is called on an object too (`c:IsCode(id)` is `Card.IsCode(c, id)`). *Arguments* is the fewest the core accepts, counting the object. | Function | Arguments | |---|---| | `Debug.AddCard` | 6 | | `Debug.Message` | 1 | | `Debug.PreAddCounter` | 2 | | `Debug.PreEquip` | 2 | | `Debug.PreSetTarget` | 2 | | `Debug.PreSummon` | 2 | | `Debug.ReloadFieldBegin` | 1 | | `Debug.ReloadFieldEnd` | any | | `Debug.SetAIName` | 1 | | `Debug.SetPlayerInfo` | 4 | | `Debug.ShowHint` | 1 |