Open
Description
I have checked that this feature is not already implemented
- This feature does not exist
Use case
Debug HAML templates just like it's Ruby code by allowing to set breakpoints there.
Description
Ditto
Implementation
HAML templates end up "compiled" into Ruby code in a way that the stacktrace shows the path and line numbers almost verbatim, so it shouldn't be hard to map the path seen in stacktrace to local file path. https://github.com/ruby/debug/blob/61de9d87f02fca5d46561157abdce168022a9eb5/lib/debug/server_dap.rb#L321