Debug Console

The debug console is accessible in The Binding of Isaac: Afterbirth † and The Binding of Isaac: Repentance. It is an extremely useful way to verify a particular game mechanic, explore a seed, or test various things about the game. Or, if you are a mod developer, you can use it to quickly test various things in your mods.

The debug console is only accessible if one or more mods are enabled. If you don't have any mods to enable, download one from Steam Workshop, or simply create an empty folder in your mods directory. Note that achievements will be disabled if Mom has not been defeated on the savefile, and consequently unlocks will not happen, donation machines can't be filled nor the will item collection page record anything. While many "enable debug console" mods exist on Steam Workshop, these do not explicitly enable the console or are required to enable it. ANY mod will enable the console, regardless of what the mod is named.

The debug console is only accessible by editing  in the configuration directory and setting the   option to.

The directory which contains the game data and mods directories varies by OS and, where appropriate, compatibility layer.
 * Windows:
 * Linux native:
 * Linux, via Proton:
 * Mac OS native:

The directory names within that directory are as follows:
 * Configuration & save data:
 * (Linux native)
 * Mods:
 * (Linux native)
 * Mods:
 * (Linux native)
 * (Linux native)

Using the Debug Console
To open the console, press the grave/tilde key while in a run, or the appropriate key according to the keyboard used, as shown below.

To hide the console, hit  without typing anything or.

Pressing the up arrow key will bring up the last command used.

Listed Commands
Commands are listed below in the order that they appear ingame.

Unlisted Commands
These commands do not appear in the console but can still be used.

Delirious Bosses
The  command uses the following ID mapping:

Trivia

 * In Repentance, going to non-standard stages will crash the game.
 * In Afterbirth+, going to non-standard stages will crash the game, with the exception of stage 13. It consists of 2x1 vertical rooms that have doors that only sometimes close, minimal enemies (usually a few of the same type), and uses background. The music is a single layer of either the, ,  or the  music, and only plays when enemies are in the room. The boss is always The Duke of Flies, and no trapdoor or items spawn when the boss is defeated.
 * Stage 13a is the same, but with background. The boss is always Monstro II.
 * Stage 13b is the same, but with background. The boss is always The Duke of Flies.
 * The enemy spawn patterns are the same as the waves in Greed mode, suggesting that this stage is used to store the waves in the game.
 * The name display while holding Tab on PC/Back on Xbox 360/Touchpad or L2 on PS4/Minus on Switch will show up their respective overlay's stage name, but without the I or II, e.g. Normally it's Caves II, but in this stage is referred to only Caves, just like, , , , and , i.e Chapters 4.5 and above.
 * Entering "stage 8" in Greed or Greedier mode will grant access to . The rooms have random backdrops and the music is the same as The Void in regular mode, but the boss is Ultra Greed and will drop the Final Boss Chest. Entering The Chest will play the final ending instead of ending 18 or 19.
 * Stage 8 in Greed/Greedier mode is a blank stage, stage 9 is, stage 10 is , and stage 11 is . Any further values will crash the game.
 * Attempting to give yourself all the items using "giveitem *" will print the message "What are you trying to do?" to the console and will give nothing.
 * Monster champion types go up to 48590, with anything beyond the 24 used types resulting in a monster that has double (maximum) HP, no other special abilities and often exotic color palettes not normally seen. Any higher will crash the game.
 * Champions types above the 26 defined ones are mostly invisible and have no clear upper number, but may cause a crash at any time.