DEV Community

Discussion on: Debugging Ruby in VS Code

Collapse
 
dnamsons profile image
Dāvis Namsons • Edited

I don't really use ERB, as I use haml(way better than ERB), the breakpoints work for me. However, the funcionality is essentially the same, so breakpoints should also work for ERB. If they don't, try following the debugging instructions provided by Karuppasamy M in the comment above.

Collapse
 
pancutan profile image
Sergio Alonso

Thanks Dāvis
It's working awesome now.

Thread Thread
 
ramandika profile image
ramandika

Do you manage to debug .html.erb file? How do you solve that?

Thread Thread
 
pancutan profile image
Sergio Alonso

In the last version it's simply work. Just add a breakpoint and the debugger will stop there.