Manual:$wgDebugToolbar

Details
Displays the debug>Special:MyLanguage/Debugging toolbar|debugging toolbar.

This also enables profiling on database queries and other useful output.

This must remain "false" in production to avoid exposing private information.