whole_func_string: function normalizeDebugConfig(info) {
      if (info.hasOwnProperty('debug')) {
          let debug = info.debug;
          delete info.debug;
  
          let value = debug ? 'debug' : 'off';
          let config = info.config;
          if (!config) {
              info.config = {
                  logLevel: value
              };
          }
          else if (!config.logLevel) {
              config.logLevel = value;
          }
      }
  }
func_code_string: function normalizeDebugConfig(info) {
      if (info.hasOwnProperty('debug')) {
          let debug = info.debug;
          delete info.debug;
  
          let value = debug ? 'debug' : 'off';
          let config = info.config;
          if (!config) {
              info.config = {
                  logLevel: value
              };
          }
          else if (!config.logLevel) {
              config.logLevel = value;
          }
      }
  }
func_documentation_string: Normalize debug config
  input:
  {
  debug: true
  }
  
  after normalize:
  {
  config: {
  logLevel: 'debug'
  }
  }
  
  @param {Object} info the app config info