Couchbase 7.6 introduces two new features that improve debuggability and visibility into User-Defined Function (UDF) execution: Profiling for SQL++ statements executed in JavaScript UDFs, and EXPLAIN FUNCTION to access query plans of SQL++ statements within UDFs. The profiling feature collects detailed execution tree information with timing and metrics for each step of the statement's execution. EXPLAIN FUNCTION allows users to analyze the query plan of a specific SQL++ statement within a UDF without having to individually run an EXPLAIN on each statement. This new feature is particularly useful for debugging complex queries involving nested UDFs or aliased N1QL functions.