Elements Inspection
View SourceThis feature helps you inspect LiveViews and LiveComponents directly from the rendered page.
You can open LiveDebugger Node Inspector on right element by selecting it with mouse on the page.
Important
Elements Inspection works only when browser features are enabled.
They are enabled by default but you can enable them explicitly:
# config/dev.exs
# Enables all browser features and inject LiveDebugger JS
config :live_debugger, :browser_features?, trueFor proper working make sure you don't have highlighting disabled.
It's enabled by default but you can enable it explicitly:
# config/dev.exs
config :live_debugger, :highlighting?, trueHow to use
You can enable inspecting mode in two ways:
Using
Debug Buttonin the debugged LiveView window (clicking button and selecting from menu)Using
Inspect Elementbutton in the LiveDebugger (not available inDeadView Mode)

When enabled you can hover elements on the page and see them highlighted and short information about the given element.
- When using
Debug Buttonclicking on element will openNode Inspectorfor that element in a new browser tab. - When using
Inspect Elementbutton you can click on element to openNode Inspectorin the same LiveDebugger tab or devtools extension.