How to debug procedures locally in Supabase?

Hi everyone. This could be a pretty newbie question, but I've been wondering if any of you had any chance to run a debugger in Supabase's PostgreSQL Docker container so that I can debug a procedure I have there instead of populating my procedure with 'RAISE NOTICE'. I tried installing pldebugger from source within Supabase's Docker container with no luck because somehow the headers for Postgres are missing and, admittedly, I gave up right there.

Could any of you managed to run a debugger within Supabase's Docker container? Or do you have another strategy for this? I'll be checking out your answers. Thank you all for your help.

If it helps, I have version 1.115.4 of the Supabase CLI installed using Homebrew on Linux Mint 21.2.
Was this page helpful?