weizheheng / ror.nvim

Have FUN builiding Ruby on Rails applications with Neovim!
MIT License
132 stars 15 forks source link

Auto attach when pry, debugger or byebug is detected #5

Closed otavioschwanck closed 1 year ago

otavioschwanck commented 2 years ago

Would be awesome to have it

weizheheng commented 2 years ago

This is great feedback, I actually wanted this behaviour myself as well. However, I haven't figured out how to tell if a debugger is present.

otavioschwanck commented 2 years ago
  1. You can check the last line of terminal buffer, if contains those words, it opens. Maybe i can try to do in the weekend.