← All Cheat Codes

Debug Mode — Cheat Code

Sonic the Hedgehog · Sega Genesis · 1991 · Debug Mode

Title screen: press Up, Down, Left, Right (a chime confirms), then hold A and press Start for Level Select; enable debug with Up, C, Down, C, Left, C, Right, C

Effect: Enables a debug mode that lets the player place objects anywhere in the level and toggle Sonic's position freely.

Sonic the Hedgehog's debug mode was a developer tool left in the retail cartridge, reached through a sequence entered on the title screen. Pressing Up, Down, Left, Right plays a confirmation chime; holding A and pressing Start then opens a hidden Level Select. Entering the debug code (Up, C, Down, C, Left, C, Right, C) activates the overlay, letting players place rings, enemies and other objects anywhere in a level. (The 19, 65, 9, 17 sound-test code often cited for this trick is actually Sonic the Hedgehog 2's.)

The Story Behind the Code

Sonic the Hedgehog was released in June 1991, made by Sonic Team with Yuji Naka as programmer, Hirokazu Yasuhara as lead designer and Naoto Ohshima as character designer. From November 1991 it replaced Altered Beast as the game packed in with American Genesis consoles, and the effect was immediate: the Genesis outsold the Super NES two to one over the 1991 holiday season, and by January 1992 Sega held about 65 per cent of the 16-bit market — the first time since 1985 that Nintendo had not led the console business.

It was the best-selling home video game of 1991 and went on to sell more than 15 million copies on the Genesis alone. When the game was remade for mobile devices in 2013, the debug mode was not only kept but expanded, and the Nintendo 3DS version added an option to start from any level.

Key Facts:
  • Level Select is reached with the Up, Down, Left, Right title-screen code
  • Allows free placement of in-game objects — a genuine developer leftover
  • The 2013 mobile remake kept the debug mode and expanded it

Sources & further reading