code: public boolean getDebug(final ProcessorDef[] defaultProviders, final int index) {
      if (isReference()) {
        return ((ProcessorDef) getCheckedRef(ProcessorDef.class, "ProcessorDef")).getDebug(defaultProviders, index);
      }
      if (this.debug != null) {
        return this.debug.booleanValue();
      } else {
        if (defaultProviders != null && index < defaultProviders.length) {
          return defaultProviders[index].getDebug(defaultProviders, index + 1);
        }
      }
      return false;
    }
docs: Gets boolean indicating debug build
  
  @param defaultProviders
  array of ProcessorDef's in descending priority
  @param index
  index to first element in array that should be considered
  @return if true, built targets for debugging