I would make a debug object that when you put that in the game, it has certain keys mapped to cheat functions.
Like hitting "R" lets you pick which room you want it to take you to. It then executes a room goto as per normal, etc.
When done, just stop putting that object in the game and debug is off. Or always put it in put set a global to turn off/on debug mode (your debug mode).
Debugging done well ends up as part of the game design sort of.