make a debug feature debug only

- separate print from getting a list of component names,
  so we don't trace if we don't have to