0
first of all make a store procedure well format. if you want debug the store procedure then just select the store procedure like this way.
create proc procedureName
()
as
begin
end
if you want debug any store procedure select the procedureName and press the CTRL+F5. your studio convert to in debug.