How to Use binding.pry to Debug a Rails Application in a Docker Containerby@vitalie-melnic
1,490 reads

How to Use binding.pry to Debug a Rails Application in a Docker Container

tldt arrow
Read on Terminal Reader🖨️

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.
featured image - How to Use binding.pry to Debug a Rails Application in a Docker Container
Vitalie Melnic HackerNoon profile picture

@vitalie-melnic

Vitalie Melnic
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa