phlex-rails icon indicating copy to clipboard operation
phlex-rails copied to clipboard

Using Herb Dev Tools with Phlex

Open Spone opened this issue 4 months ago • 0 comments

Herb Dev Tools provide visual debugging in the browser for ERB templates. It would be nice to be able to debug Phlex view and components as well.

  • we need a generic implementation in Phlex to detect that we're in dev mode (Herb::Engine exposes a debug option)
  • if we're in dev mode, phlex-rails needs to produce the right markup (see Herb::Engine::DebugVisitor)

Spone avatar Oct 28 '25 11:10 Spone