Show or Hide Diagnostics

You can show or hide diagnostics from the diagnostics pane or from a specifc cell: