34.3 IS_ENABLED Function

This procedure returns whether instance debug is enabled.

Syntax

APEX_INSTANCE_DEBUG.IS_ENABLED
    RETURN BOOLEAN;

Example

Disable instance debug if it is enabled.

begin
    if apex_instance_debug.is_enabled then
        apex_instance_debug.disable;
        commit;
    end if;
end;