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, test launch options, 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. It is inaccessable on Console Editions.

 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 will the 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 `options.ini` in the configuration directory and setting the `EnableDebugConsole` option to `1`.

The directory which contains the game data and mods directories varies by OS and, where appropriate, compatibility layer.

* Windows: `C:\Users\%username%\Documents\My Games`
	+ Windows 11: Searching for Users folder may be required first
* Linux native: `~/.local/share`
* Linux, via Proton: `*/path/to/Steam*/steamapps/compatdata/250900/pfx/drive_c/users/steamuser/Documents/My Games`
* Mac OS native: `~/Library/Application Support/Binding of Isaac Rebirth`

The directory names within that directory are as follows:

* Configuration & save data:
	+ `Binding of Isaac Afterbirth+`
	+ `binding of isaac afterbirth+` (Linux native)
	+ `Binding of Isaac Repentance`
* Mods:
	+ `Binding of Isaac Afterbirth+ Mods`
	+ `binding of isaac afterbirth+ mods` (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 `Enter` without typing anything or `Esc`.

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

Pressing the down arrow key will clear the command line.

## 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 `delirious` 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 Caves background. The music is a single layer of either the ???, Cellar, Basement or the Burning Basement 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 Depths background. The boss is always Monstro II.
	+ Stage 13b is the same, but with Womb 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 Cathedral, Sheol, ???, Chest, Dark Room and The Void, i.e Chapters 4.5 and above.
* Entering "stage 8" in Greed or Greedier mode will grant access to The Void. 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.
* In Greed/Greedier Mode, there are odd, secret additional stage layouts that use Stage IDs further than 8, and are variants of existing floors. Some are based off the new Repentance path's floors. Stage 8 is a blank floor with no walls and music, Stage 9 is the Ultra Greed floor but with ???'s doorways, stage 10 is the Ultra Greed floor but with a sick-green and cleaner version of Dross and stage 11 is the Ultra Greed floor with the backdrop of Mausoleum.
	+ Any further values will crash the game.
	+ There are some that use the 'a' and 'b' ID variation, and are alternate versions of the existing but some are of the hidden floors.
		- Stage 5a will have the Sheol backdrop with a light effect coming from above, and entering Stage 5b is the same as the Stage 5a, but the backdrop's walls can be a little bit brighter, or as dim as the original Stage 5's.
		- Stage 6b and 7b will have the The Shop/Ultra Greed backdrop with a warmer color than normal Stage 6 and 7. Stage 6c and 7c will have the The Shop/Ultra Greed backdrop but with a blue tint.
		- Stage 8a is the same Stage 8, but can have the floor of the Basement.
		- Stage 8b can be the same Stage 7b but can sometimes come with no music at all.
		- Stage 9a comes with a random backdrop and the music of The Void, but it has the doorways of ???. The Final Boss Chest will play ending 20 instead of Ending 18 or 19 depending on the mode selected.
		- Stage 9b comes with a brownish version of Downpour's backdrop. It has the doorways of ???.
		- Stage 10a has the backdrop of the Mines.
		- Stage 10b comes with a reddish version of the Ashpit's backdrop.
		- Stage 11a has the backdrop of Gehenna.
		- Stage 11b comes with a reddish version of Corpse's backdrop.

* 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.