Test a stored procedure in Microsoft Sql Server Management Studio
Not sure of best approach here is how I do it:
You can right click the sp > tasks > execute to > new query window. This will allow you to call the SP with parameters.
You can then do selects at various points in the SP for debugging.
The otehr way if it is a really complex SP is to take the code out of an SP and just declare variables in place of the paremeters then you can just run the TSQL code directy.
WOuld love to hear any better ways though.