For what part of the iPhone? If I remember correctly, there isn't just a general debug mode unless you have developer access...the other debug modes are specific to parts of the iPhone (IE: Safari debug mode, bluetooth debug mode, etc).
I'm honestly not even sure if these still work on iOS 7...