Admin setting to enable or disable mini-profiler?

(Michael Downey) #1

Continuing the discussion from How can you hide the MiniProfiler?:

Is this (in the admin settings) something possible to do? Since the mini-profiler is always on the left side of the screen, it’s often in the way for a language that has left-to-right reading and left-justified text. It’d be great if we could toggle it on only when needed for troubleshooting.

(Jeff Atwood) #2

You can press alt+P to hide or show it at any time.

Disable load times shown at left margin of screen
(Allen - Watchman Monitoring) #3

Where could I have learned that alt-p trick?

(Michael Lapidakis) #4

It’s in the source code, at the bottom of the page:

 data-toggle-shortcut="Alt+P" data-start-hidden="false"></script>

(Justin Gordon) #5

@codinghorror I use


Which uses Alt-P… :frowning:

Any chance that the keyboard shortcut could be configurable, or can be eventually turned off/on via the admin settings?

(Michael Downey) #6

Did you try disabling your extension for a moment, then disabling the profiler, then re-enabling your extension? Seems like that would do it.