code: function isDebug(debugging) {
      // If manually passed just return.
      if (isValue(debugging))
          return debugging;
      var eargv = process && process.execArgv;
      function chkDebug() {
          return (eargv.filter(function (v) { return /^(--debug|--inspect)/.test(v); }).length ||
              isValue(v8debug));
      }
      return function_1.tryWrap(chkDebug)(false);
  }
docs: Indicates if app is in debug mode.
  @param debugging a manual flag to denote debugging.