Normally, when you turn into super sonic you lose tails behind you all the time.
Well, after you put in the debug cheat and have started a level (preferrably Emerald Hill), turn yourself into a box and place it somewhere on the floor WHILE you are super sonic. It should be a switch places box. Hit it and you will see tails will have a permanent invincible circle around him. He will stay like this through the whole level, he will keep up with super sonic or even out run him. A very fun glitch for 2 players.