What's the best way to debug any RLS policy?

I have written a complex RLS insert check, and it's failing where it should pass. How can I debug it efficiently?
Was this page helpful?