Debugging TSQL in SSMS

What techniques can I use to debug TSQL code now that the debugger in SSMS 18 is deprecated / deleted?