Yii Debug Toolbar in Craft CMS 3

Craft 3 includes access to the Yii Debug Toolbar for the control panel and front-end. Here's how to enable it and use it.