How to Use binding.pry to Debug a Rails Application in a Docker Container
Too Long; Didn't Read
While at Bootcamp, you tend to build your own projects and debugging those is fairly easy. The team I'm currently working on is using a mixture of rails and VueJs for the front-end. I am writing this article as a future reference to myself; hopefully, it will be of some help to anyone who is reading. If you know others please do share, I will add them to the list as well: Debugging in a docker container isn't that straightforward. You need to have the 'pry-rails' gem installed, but you can still use it by running your tests.