From Glitch City Laboratories
A debug mode can be accessed in the game Harry Potter and the Chamber of Secrets (PC version) which allows the game to be played in ways that it couldn't under normal circumstances.
Activating Debug Mode
- Go to your computer's My Documents folder.
- Open the folder "Harry Potter 2" (it should be created when the game is installed).
- Open the file "Game.ini".
- Find the phrase "DebugMode=False" (this should only appear if Debug Mode is not activated).
- Change the "False" to "True" (the T must be capitalized), and save the file.
- When the game is loaded, it should be in debug mode.
Uses of Debug Mode
There are multiple different uses for Debug Mode in this game.
Free Camera Mode
To enter Free Camera Mode, press the Delete key.
In Free Camera mode, one can move freely throughout the game and access hidden and unused maps, as well as skip through parts of the game. To move in Free Camera Mode, use the arrow keys. The screen will scroll according to how you move it. To move Harry to the location where the camera is, press Delete again. During the movement of the camera, all characters and timers will be frozen. This can be exploited to gain unachievable scores on the Challenges.
In order to change the game speed while in Debug Mode, press Page Up to increase the game speed and Page Down to decrease the game speed.
To enter the Shortcut Window, press F4 while in Debug Mode. A window will appear in which the player can select any map in the game and teleport there.
Other functions in debug mode include pressing F6 to regain all health, and also F9 to automatically learn every spell in the game.
While in Debug Mode, the top of the screen will feature messages regarding what is happening in the game, such as a cutscene playing or the game speed being changed. A notable feature of this is the messages it shows when Harry is damaged. When he is damaged, the message "ARGGHHH! I'M HIT!!!!" displays. When Harry faints, the message "ARGGHHH! I'M DEAD!!!!" diplays.