How to see errors on codechef

How to see the errors in my code after submiting on codechef actually i submitted a problem and it shows wrong answer and i wanted to know for which test case my code is failed how can i do this on codechef?

There is no way of doing this, as codechef hides the test cases. You can test it locally on your ide (or online on an online ide) with test cases.

P.S: Codechef hides the test cases because it thinks that this way is a good method to learn, and won’t change it to show the test cases like codeforces in the near future.