debug_enabled

SYNOPSIS

debug_enabled

DESCRIPTION

Return 0 if all the functions in debug are non dummy functions that is debug was enabled during configuration.Or else return 1.

Use this function for codes that dont need to be executed if debug is not enabled.e.g:

if debug_enabled ; then
  assert '[[ $var = 0 ]]'
fi