code: public void updateDebugTemplate(String template) throws SecurityException {
  	checkWriteAccess();
  	boolean hasAccess = ConfigWebUtil.hasAccess(config, SecurityManager.TYPE_DEBUGGING);
  	if (!hasAccess) throw new SecurityException("no access to change debugging settings");
  
  	Element debugging = _getRootElement("debugging");
  	// if(template.trim().length()>0)
  	debugging.setAttribute("template", template);
      }
docs: updates the DebugTemplate
  
  @param template
  @throws SecurityException