I realize that there is nothing similar to SQL Server Management Studio, so I am mentally prepared to use the good old printf debugging.
The only question is how to
Along with the trusty ol' RAISE commands, there are also a couple 3rd-party tools that I have heard of, though I've never used them.