docs: protected void stacktrace(Throwable e, boolean always) {
          if (debug || always) {
              println(">>> stacktrace:");
              if (output instanceof PrintStream) {
                  e.printStackTrace((PrintStream) output);
              } else {
                  e.printStackTrace((PrintWriter) output);
              }
          }
      }