How do I debug a store procedure in MySQL ?

I have a store procedure with 6 inputs. I want to debug this store proc .

How do I do it ? Is there any tool available which could help me ?

My SQL version: 5