How to debug HLSL code for errors in UE5?

Errors don’t make sense if the custom node contents break the whole hlsl, e.g. a missing “}”. Otherwise, the highlighted error suggests MaxSteps is a float2 or something.