Crashing the game intentionally

Nearly all of those answers crash the game, but I think the best and efficent way of doing this would be executing the command ‘debug crash’ as KristofMorva said, thanks for all the answers!