Show or Hide Diagnostics

You can show or hide diagnostics from the diagnostics pane: