vscode-rdbg icon indicating copy to clipboard operation
vscode-rdbg copied to clipboard

Unable to set breakpoints on Rails .html.erb files

Open philayres opened this issue 2 months ago • 0 comments

.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.

philayres avatar Nov 06 '25 11:11 philayres