Pulling Out Standard Shader Permutations

Hey all. Does anyone know if there’s a good way to pull out a final source of the standard shader? For instance if I enable cutout, and a couple of other things, what’s the final shader look like? My attempts to follow the breadcrumbs of all the includes and pragmas has been frustrating and not too productive. I’m aware that you can look at the compile source for stuff, but that doesn’t seem to work for the standard shader. Any ideas?

#pragma enable_d3d11_debug_symbols on a copied-in version of the standard shader might help?
I managed to see A compiled version for an object being drawn using RenderDoc (hooked to the editor, in play mode with correct swap chain selected). But it did require that pragma to be set.