The right way to Debug and Test Your Code Properly