Output viewer: Add diagnostic feature