Write more diagnostic information