Today, the guidance is to use RenderDoc and most of it centered towards debugging and profiling playgrounds. However, RenderDoc isn't available on macOS and folks aren't super keen on switching hosts.
This issue tracks making this workflow easier without having to resort to printf debugging on macOS.