Usually databases are treated primarily as fairly dumb data storage systems, but they can be capable of much more. Case in point the PostgreSQL database and its – Ada-based – PL/pgSQL programming ...
An extension that can be installed in PostgreSQL; The debugger GUI inside OmniDB application. More details on how you can use the PL/pgSQL debugger extension together with the OmniDB GUI can be found ...