Toll Group interview question

how to debug stored procedure ?