chrome/browser/resources/omnibox_popup/README.md
--enable-features=WebUIOmniboxPopupDebug or enable it via
chrome://flags/#webui-omnibox-popup-debug.
--enable-features=WebUIOmniboxPopupDebug:SxS/true or select the
Side by Side flag variant.chrome://omnibox-popup.top-chrome?debug in a tab. A blank page
should be shown.The above instructions are convenient for debugging in a tab, but it may sometimes be helpful to debug the omnibox popup itself instead of a secondary webui surface.
inspect for chrome://omnibox-popup.top-chrome/ to debug the main
browser window's actual omnibox popup. Note, each browser window creates an
identically-named entry on the list (and if the DevTools are popped out to a
separate window, that may appear as well) so to be sure of inspecting the
right omnibox, start with a single window.Note: See additional instructions on how to iterate faster using the --load-webui-from-disk flow