Skip to content

Unable to set breakpoints on Rails .html.erb files #511

Description

@philayres

.html.erb files commonly used in Rails don't allow breakpoints to be attached

This is similar to #54 and can be worked around by setting the Debug: Allow Breakpoints Everywhere preference. The referenced issue shows that .rb.erb files work by default, so something is being more specific than just the final extension.

This shows the default, without the Debug: Allow Breakpoints Everywhere preference.

Image

After setting, the breakpoints can be added.

Image

I'm not so happy with the global setting, but it is a workaround for now for .html.erb files. It would be great to get this fixed though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions