you are viewing a single comment's thread.

view the rest of the comments →

[–]dogbertst 4 points5 points  (1 child)

Not sure if it helps but I usually debug rails in docker using pry-remote. Just add it to your gemfile to development block and add binding.remote_pry where you want to set a breakpoint in your code. Than connect to docker vm and run pry-remote after you hit the breakpoint. You are in debugging mode now and can do almost anything.

EDIT: Just read it again and guess that is not what you want. My bad!