Sonic Wiki Zone

Know something we don't about Sonic? Don't hesitate in signing up today! It's fast, free, and easy, and you will get a wealth of new abilities, and it also hides your IP address from public view. We are in need of content, and everyone has something to contribute!

If you have an account, please log in.

READ MORE

Sonic Wiki Zone
Register
Advertisement
Sonic Wiki Zone
Debug Mode Sonic 1-1

Debug Mode activated in Sonic the Hedgehog (1991). Notice the coordinates on the upper-left corner.

Debug Mode is the general name for a category of video game features designed to assist game developers in testing and debugging their video game's code. For instance, a menu that allows the user to edit level layouts or test object's functionality may be described as Debug Mode. With the requirement of the console's development kit, the Debug Mode is commonly utilized in the video game's development and it tends to be removed or hidden once the game is released, as it grants abilities beyond those intended for the player.

Several Sonic the Hedgehog games, especially those released for the Sega Mega Drive, are notable for allowing players to easily access Debug Mode by inputting a cheat code.

Concept and creation[]

The name "Debug Mode" originates from western publications and magazines covering Sonic the Hedgehog games, which described the cheat codes for unlocking the feature in the early 1990s.[1][2][3][4][5] Later on, Sonic & Knuckles Collection and the Windows 95 version of Sonic the Hedgehog CD used the term "Debug Mode" in the games' internal coding. The name was later fully implemented in Sonic Mania and its expansion Sonic Mania Plus. Alternately, the name "Sonic Construction Set" is used to describe the feature in the Sonic the Hedgehog 1 & 2: Sega's Official Player's Guide book.[6]

In Japan, earlier main game installments in the Sonic series used the term edit mode (エディットモード editto mōdo?) in the game's internal coding, which was described as such in magazine publications and strategy guide books.[7][8] Sonic Jam is a rare example of the "edit mode" term being used in western releases, as it was included in the Secret Card's cheat code list in the Sonic World feature.[9]

Description[]

Sonic the Hedgehog (1991), Sonic the Hedgehog 2, Sonic the Hedgehog CD, Sonic 3 & Knuckles and Sonic Mania each have a Debug Mode that activates the same basic set of features. Generally, the HUD changes to show the coordinates of the player's location in place of the score counter. The player may then activate and deactivate object placement mode, which replaces the player character with an item that can be freely moved around the stage with Controlpadds and can cycle through the list of placeable objects before placing them onto the level. These lists usually include a general global set of items that can be placed in any zone (usually a Ring and a Super Ring monitor), the current Zone's Badniks, certain platforms, and other obstacles or scenery. However, some Zones allow the player to place objects that are not found in normal gameplay, such as scrapped enemies. While Debug Mode is active, the player can perform certain actions while the game is paused. Although each game's Debug Mode shares the same basic controls, there are also slight differences between each.

In Retro Engine releases of the classic Sonic games, the coordinates are located in the top right corner, and the global set of items is largely expanded to include Springs, every available Monitor, a Goal Plate and a Capsule. Additionally, it can also highlight additional details about certain platforms, screens, and routes (particularly in the RSDKv5 developed games, such as Sonic Mania and the Sonic Origins release of Sonic 3 & Knuckles); for instance, an area labeled with Eggman's head designates invisible platforms.

Examples of Debug Mode in action[]

Gallery

Game appearances[]

The installments in the Sonic the Hedgehog series have specific cheat codes to activate Debug Mode without using hacks or cheat cartridges (such as GameShark) are mentioned here.

Sonic the Hedgehog (1991)[]

To enable Debug Mode in Sonic the Hedgehog (1991), at the title screen, press ControlpaddsSega Genesis C ButtonSega Genesis C ButtonSega Genesis C ButtonSega Genesis C Button. If done correctly, a Ring chime will play and pressing Start while holding Sega Genesis A Button will begin the game with Debug Mode. In revisions of the game, the first part of the method is changed to Sega Genesis C Button Sega Genesis C Button ↑ ↓ ↓ ↓ ← → if played on a Japanese console.

In the Sega Mega Drive version, the player may press Sega Genesis B Button to activate and deactivate object placement mode, which replaces the player character with an item that can be freely moved around the stage with Controlpadds and placed by pressing Sega Genesis C Button. Pressing Sega Genesis A Button will cycle through placeable objects, and while holding Sega Genesis A Button, pressing the Sega Genesis C Button button will cycle backwards through the list of objects. While the game is paused, pressing Sega Genesis A Button will return to the title screen, holding Sega Genesis B Button will cause the game to run at half speed, and Sega Genesis C Button will advance the game by one frame.

In the original Mega Drive version of the game, Sonic cannot die from spikes while Debug Mode is active, simply bouncing off them in his hurt animation until he is no longer touching them. However, unlike later games and the 2013 remaster, Sonic cannot enter object placement mode upon dying.

In the 2013 remaster (and in Sonic Origins), Debug Mode can be enabled while at the Level Select Sound Test by playing the following tunes in order: 01, 09, 09, 01, 00, 06, 02, 03. Then, after selecting a Stage to play, the player may tap the HUD on the upper-left corner of the screen to activate object placement mode. Once there, the player can cycle through the placeable objects by tapping the minus or plus buttons, move around with the directional pad and place them by tapping the jump button. To exit object placement mode, the player must tap the HUD again.

Sonic the Hedgehog 2[]

Debug Mode is featured once again in Sonic the Hedgehog 2. To enable Debug Mode, the Level Select screen must be activated and then entered. There, play the following music in order: 01, 09, 09, 02, 01, 01, 02, 04 on the Level Select's Sound Test. Then, select a Zone, hold Sega Genesis A Button, and press Start.

In the Sega Mega Drive version, the Debug Mode features and controls remain identical to those for the original Sonic the Hedgehog. Only the main playable character controlled by the first player can enter object placement mode, Tails is not able to enter object placement if he is following Sonic. There is an additional feature that can be enabled as well; "Night Mode" may be activated by holding Sega Genesis C Button while entering a Zone from the Level Select. This highlights foreground sprites and darkens background sprites. The player can now enter object placement mode while dying to place the player character in a safe spot and revive them, although placing an item after the player character dies at least once in the stage will crash the game, as the game calls a word operation at an invalid address.

In Knuckles in Sonic 2, the player has to activate the Level Select code and head to the Level Select screen. Here, play songs 01, 09, 09, 04, 01, 00, 01, 08 in order at Sound Test part and the Ring chime can be then heard. Then press Sega Genesis A Button down, while one of the acts is highlighted in the game and press start to commence the game with Debug Mode enabled. Unlike in the original version, only a Ring and Super Ring monitor can be placed.

In the 2013 remaster (and in Sonic Origins), Debug Mode can be activated by having the player playing the same music tracks as the original release in the Sound Test. The controls remain the same from the 2013 remaster of the original Sonic the Hedgehog and in addition, the player can return to the Level Select anytime while in object placement mode by tapping the lives counter at the top right corner of the screen.

Sonic the Hedgehog CD[]

Sonic CD message 1

The bonus picture of Tails, from Sonic the Hedgehog CD.

In the original Sega CD version of Sonic the Hedgehog CD, first, input the Sound Test code at the title screen. Then set the Sound Test to show FM#40, PCM#12, and DA#11, and press Start. A bonus picture featuring Tails with the words "See You Next Game" from the character's designer, Yasushi Yamaguchi, will show before returning to the title screen.

In the Windows 95 version of the game, as before, first enter the Sound Test code at the title screen. In the Sound Test, input PCM#12 and DA#11 and then press [SPACE].

In the 2011 remaster, and Sonic Origins, first unlock the Sound Test by having a total time in Time Attack normal stages below 25 minutes. As in the Windows 95 version of the game, the player needs to input PCM#12 and DA#11, then press Start.

Sonic the Hedgehog 3 & Knuckles[]

Debug Mode is featured once again in Sonic the Hedgehog 3, Sonic & Knuckles, and the lock-on game Sonic 3 & Knuckles. The method of enabling Debug Mode differs between each game:

  • Sonic the Hedgehog 3: The player has to enable Level Select and head to the Level Select screen. Here the player has to hold Sega Genesis A Button down, select one of Zone in the game and then press Start.
  • Sonic the Hedgehog 3 & Knuckles:
    • Original versions: The player has to activate Level Select code and then head to the Mushroom Hill Zone (Act 1 is the fastest and recommended choice). Here the player has to jump on one of pump elevators and then press Controlpadds ← ← ← → → → ↑ ↑ ↑. If done correctly, the Ring chime will be heard. Following this, pause the game and press Sega Genesis A Button to go back to the title screen and then head to 1 Player or Level Select. There, select a Zone, hold Sega Genesis A Button down and then press Start.
    • Sonic Origins remaster: Enter the Level Select, and play the following music in order: 01, 09, 09, 04, 01, 00, 01, 08 on the Level Select's Sound Test.
  • Sonic & Knuckles: Debug Mode is normally inaccessible in Sonic & Knuckles alone, but by activating Debug Mode in Sonic the Hedgehog 3 & Knuckles and then triggering a glitch using the S Monitors, the game can mistakenly switch to Sonic & Knuckles with Debug Mode still active. This has the interesting side effect of Sonic & Knuckles showing a Marble Garden Zone demo, possibly part of leftover data.

The Debug Mode in all three games remains similar to that of Sonic the Hedgehog 2. The controls for Debug Mode are as follows:

Button formation Action
Sega Genesis A Button Reverse gravity
Sega Genesis B Button Enter/exit Debug Mode
Activate Debug Mode > Sega Genesis A Button Cycle through object selection
Activate Debug Mode > Hold Sega Genesis A Button + Sega Genesis C Button Cycle through object selection backwards
Activate Debug Mode > Sega Genesis C Button Place objects
Hold Sega Genesis C Button + Sega Genesis B Button Cycle through the playable character's sprites

The games also introduce a monitor exclusive to Debug Mode, the S, which allows the playable character to transform into their Super form.

The game's HUD no longer shows the character's location coordinates continuously when the player deactivates object placement mode, which is also apparent in the future games (except the remasters of the previous Sonic games, where it is placed on the top right corner). In Sonic the Hedgehog 3 & Knuckles, enabling Debug Mode will also allow any character to play all Acts, including Acts they are not intended to play through normally (such as Sonic/Tails in Knuckles' version of Sky Sanctuary Zone and vice versa). It is worth knowing that entering object placement mode while the character sprite is rotated (such as atop a Spinning Wheel) will cause the object placement sprite to either glitch or for the game to crash.[10] In the original Mega Drive version, placing an item after the player character dies at least once will also usually crash the game in much the same manner as Sonic the Hedgehog 2.

Sonic Spinball (8-bit)[]

Sonic Spinball (8-bit) has a different version of Debug Mode, consisting of several cheat codes that each activate different secret effects. On the left edge of each stage is a hidden chamber that contains three Item Boxes. Each of them contains a 1-Up, a Continue, and a special variant with 見る on it (Japanese characters for "look"). Breaking this Item Box will give a hint for a secret code. The codes are as follows, to be played in order at the Sound Test of the game in options menu. Inputting the code correctly makes the screen shake slightly. Below is a list of codes and their purposes:

  • 0, 8, 3, 1, 7, 1: Gives the player full codes instead of hints when the player hits the Item Box with 見る kanji on it in each stage of the game.
  • 0, 2, 1, 1, 6, 6: Makes Sonic's sprites in general three times larger. This does not affect gameplay.
  • 0, 9, 0, 1, 6, 8: Allows Sonic to move freely in the stage by pausing and pressing Game Gear II Button, then using Controlpadds to move around.
  • 0, 2, 1, 5, 6, 6: Gives the option to skip to the next stage by pressing down on the Controlpadds.
  • 0, 4, 2, 5, 5, 7: Makes the background music in the stage extremely fast.

Sonic Mania/Sonic Mania Plus[]

In Sonic Mania and its expansion Sonic Mania Plus, Debug Mode is an unlockable feature which is enabled by obtaining at least sixteen Medallions from the Bonus Stages. This will unlock Debug Mode as a feature in "Game Options" that can be toggled on or off. Prior to Version 1.04/RC 1.05.0713, the player could only do this in No Save mode.

Originally, there was a cheat code for unlocking Debug Mode. First, the player had to hold Cross/A button/Switch b + Square/X button/Switch y, then press any other button to access a special Level Select screen in the style of Sonic the Hedgehog 2. After selecting a level, the player then had to press PSTriangleButton/Y button/Switch x to access the Debug Mode in-game. However, this cheat code was patched out as of Version 1.03.

Below is a list of controls for Debug Mode in each platform:

Button formation Action
PS4 Xbox One Switch
Square X button Switch y Enter/exit object placement mode
Cross A button Switch b Cycle through object selection (forwards)
Hold Cross > PSTriangleButton Hold A button > Y button Hold Switch b > Switch x Cycle through object selection (backwards)
Circle B button Switch a Cycle through Monitor power-ups (if the Monitor is currently selected)
PSTriangleButton Y button Switch x Place currently selected object

In gameplay, once object placement mode has been activated in an Act and that Act is later finished (even through normal means), there are no transition cutscenes to the next Act unless if the player visits a Special Stage, Bonus Stage or Pinball Stage.

If a Giant Ring is placed with Debug Mode, it will always give the player 50 Rings regardless of the number of Chaos Emeralds the player has (from Version 1.04/RC 1.05.0713 and onwards).

Sonic Origins[]

In Sonic Origins, Debug Mode is an unlockable cheat code feature in Sonic 3 & Knuckles. To enable Debug Mode, the player must, at the Sound Test, play sounds 01, 09, 09, 04, 01, 00, 01, and 08. A Ring chime will then sound to confirm the code. From there, the player can select any Zone to start it with Debug Mode. The following commands for this game's Debug Mode are as follows:

  • Enter/exit object placement mode: Press Square/X button/Switch y. Also, while in object placement mode, use the Left Stick, Controlpadds, or Arrow Keys to move around.
    • Cycle forward through available objects: Press Circle/B button/Switch a.
    • Cycle backwards through available objects: Press PSTriangleButton/Y button/Switch x while holding Circle/B button/Switch a.
    • Change item subtype when selecting item: Press Cross/A button/Switch b.
    • Place selected item: Press PSTriangleButton/Y button/Switch x.
  • Reverse gravity when outside object placement mode: Press PSTriangleButton/Y button/Switch x.

While Debug Mode is active, the camera coordinates will be showcased by the top line of hex digits in the top-right corner of the screen. Player coordinates, on the other hand, are showcased by the bottom line of hex digits in the top-right corner of the screen.

Sonic Superstars[]

In Sonic Superstars, the Debug Menu can be unlocked once the player has beaten the Main Story. To enter it, the player must press X button/Square/Switch y ten times, followed by pressing Y button/PSTriangleButton/Switch x twice. While it is possible to listen to music and select any level as any character, unlike the previous games, the player does not have the ability to use the editing ability.

Trivia[]

X-treme Debug Mode

The Debug mode of the cancelled Sonic X-treme.

  • In the beta version of the original Sonic the Hedgehog, the Debug Mode was activated by default.
  • Some Debug Mode and Level Select codes in the Sound Test spell out calendar dates.
    • Playing songs to activate the Debug Mode in Sonic the Hedgehog 2 can format date 24 November 1992, the game's worldwide release date.
    • This is similarly repeated in Knuckles in Sonic 2, where the code can format date 18 October 1994, when Sonic & Knuckles was released in the United States and Japan.
    • In the 2013 remaster of the original Sonic the Hedgehog, playing songs in the Sound Test for activating Debug Mode can format 23 June 1991. This is the release date of the original Sega Mega Drive version of the game in United States and Europe.
  • The cancelled Sega Saturn game Sonic X-treme also features a Debug Mode in the 714 build. It is activated by pressing Start and then Sega Saturn B Button. Unlike other games, it is available from the start and it cannot be exited. The only object the player can place is a Ring, which is done by pressing Start then Sega Saturn B Button.
  • The message the player receives for unlocking Debug Mode in Sonic Mania is a reference to "Sonic - You Can Do Anything", the theme song of the PAL and Japanese versions of Sonic the Hedgehog CD.
  • Beta builds from certain games (particularly Sonic the Hedgehog 2), such as the Simon Wai and Nick Arcade prototypes, also feature Debug Mode, albeit in a rather unfinished state, often only allowing the player to place Rings and Super Ring monitors.

References[]

  1. "S.W.A.T. - Sonic The Hedgehog (Genesis)". GamePro (IDG Communications) (29): 133. December 1991. "To reach a Debug Mode that enables you to pull some strange tricks with your game wait for the title screen to appear and then press Up, Button C, Down, Button C, Left, Button C, Right, and Button C on Controller 1. Next, simultaneously press Start and Button A until your game begins. Now press Button B to enter the Debug Mode. Use Button A to select objects, and Button C to place them."
  2. "PG Tips: Sonic the Hedgehog". Game Zone (Dennis Publishing) (3): 71. 18 December 1991. ISBN 9770964466006-03.
  3. "Tips: Sonic the Hedgehog". Mean Machines (EMAP) (16): 71. 27 December 1991. ISBN 9770960495000-01. "Press B to get into the DEBUG mode. Press A to change the sonic character into another and press C to put this onto the playfield. Funnily enough, Sonic is totally invulnerable on this playing mode too."
  4. "Megadrive Tips - Sonic the Hedgehog". Mean Machines Sega (EMAP) (9): 38. 25 May 1993. ISBN 9770967901016-07.
  5. "The Complete Sonic Tips Guide". Mean Machines Sega (EMAP) (30): 47. 28 February 1995. ISBN 9770967901016-04.
  6. "Ultra Top Secrets". Sonic the Hedgehog 1 & 2: Sega's Official Player's Guide. Compute; Expanded edition. 1993. p. 62. ISBN 1-55958-335-5.
  7. "ソニックジャムコマンド集" (in Japanese). ソニックジャム オフィシャルガイド. SoftBank. 2 October 1997. p. 114. ISBN 978-4797303377. "同じようにタイトル画面で下のコマンドを入力すると、ソニックが無敵になる。 ただし落下や圧死には無効だ。 エディットモードは、 Bボタンでソニックを別のキャラクター(リングなど)に変え、 Cボタンで画面上に配置するモードだ。"
  8. "隠しコマンド一覧表" (in Japanese). ソニックメガコレクション最強攻略ガイド. Shogakukan. 1 March 2003. p. 56. ISBN 978-4091060907.
  9. Sonic Team (22 August 1997). Sonic Jam. Sega Saturn. Sega. Area/Level: Sonic World. "Secret Card: Code-2 - Sonic the Hedgehog - Invincible & Edit / <During Game> B : Edit mode on/off A : Turn into the other characters C : Put character on field"
  10. https://s3unlocked.blogspot.com/2017/08/garbage-in-garbage-out.html
Navigation templates to Debug Mode


Main article (Blue Sphere) · Staff · Manuals · Glitches · Beta elements · Gallery · Pre-releases (prototype) · Re-releases (2001, 2005, mobile, GBA, iPod, 2013, 3D, Sega Ages)

Main article (Knuckles in Sonic 2) · Staff · Manuals · Glitches · Beta elements · Gallery · Pre-releases (Nick Arcade, Simon Wai) · Re-releases (2006, Dash!, Crash!, 2013, 3D, Sega Ages)

Main article · Staff · Manuals · Glitches · Beta elements · Gallery · Re-releases (Windows 95, 2011)



Main article · Staff · Glitches · Manuals · Beta elements · Gallery · Re-releases (Plus)
Advertisement