Is there any way to turn off/down the optimization for the hlsl compiler?

I’m super new to shaders and I’m getting slowed down a lot by the compiler’s aggressive removal of parameters. I understand why it does this, and why it’s important in the final product, but while I’m just trying things out to learn it’s really slowing me down having to trim out references to a parameter if I’m not using it at the moment. Related, what standard does the compiler use, I’ve been using to help diagnose syntax issues, but I’m not sure which compiler Monogame even uses.

Is there a way to configure what level of optimization the compiler uses?

In MGCB editor there should be a drop down menu called EffectProcessorDebugMode chose to Debug .