Rails config - Annotate rendered view with file names & partial names in HTML source code
Rails
ActionView
# config/senvironments/development.rb #.. config.action_view.annotate_rendered_view_with_filenames = true #..
Works in rails 7 up
anotate