Debug writer