Add a PrintWriter to debug