Add documenting comments to top of debug_writer
Added yaml_writer, too, while I'm at it