In Debug Mode worldgen, any changes to the world will get undone. Therefore, when you fly into an gold pressure plate, you will create a loop which will freeze your screen, and you will not be able to get out of this loop.
A possible fix to this is completely removing player interactions in Debug Mode Worldgen. (such as voiding the packets of players changing the world)
MC-58898