This provides one-click access to commonly-needed developer tools. So far, we have:
Plugin Outlet Debug
This shows all plugin outlets, with tooltips showing realtime values of all of the available @outletArgs.
This was inspired by the popular plugin outlet locations theme component, and the plugin before it. But unlike those, the tight integration with core means it can always be 100% up-to-date with the latest outlets & arguments.
Clicking the icon to show outlets makes Chrome crash, making the page/tab unresponsive. I disabled my Chrome extensions, but it still crashes.
More specifically, it crashes when clicking the icon while on a topic (not only on meta).
On Firefox/Edge, it works but there’s an error in the console:
Multiple connectors were registered for the discovery-list-area outlet. Using the first.
Array [ undefined, "discovery-list-area/kanban-board (discourse/theme-351/discourse/connectors/discovery-list-area/kanban-board)" ]
When viewing a development environment on mobile, the toolbar will appear on the left of the screen so you can use it as normal.
In production environments, you’ll need to call enableDevTools() from the console (or from theme/theme-component javascript) to turn on the toolbar. Note that this has a performance cost, so you shouldn’t do it for all users on a real production site.