if you're able to... you could make a "cheat" Command, moving you to a specific room and~or game progression state (and~or also set all the required attributes, in-game items, state(s) of the game, and etc stuff, to that game progression point you "cheat" Command'ed to, albiet this is very advanced code and DESIGN-SYSTEM-STRUCTURE work, especially if it involves required assigned attributes, game state stuff, in-game items, and etc stuff ~ similar to the issues with saving and loading a game)
if there's no game state stuff, required attributes, in-game items, and etc for game progression, then making a "cheat" Command to just move you to whatever room is very easy to do.
if you don't understand what I mean:
let's just pretend you got a first person shooter game, like a resident evil type of game (maze with locked doors, puzzles requiring items or specific set'ted attributes, or monsters~eneimes that you need certain stat levels to be able to beat, etc etc etc), and you "cheat" Command "teleport" to some section of your maze, well if you don't also give your player the required keys or other items to progress or go back to previous sections to get the required items for progressing even further, required stat levels to beat the monsters~enemies, etc etc etc, then you got a fatal error, as you're stuck, unable to complete the game and~or to be able to test stuff (as you're missing the needed stuff to do so).