title: How to debug a rails app in docker with pry?
body: <p>I have a rails app running in a docker container in development environment.</p>
  
  <p>When I try to debug it with placing <code>binding.pry</code> somewhere in the code and attaching to the container I can see the <code>pry</code> prompt in the output but it doesn't pause on it and I can't interact with it like it was without docker container.</p>
  
  <p>So how do I debug a containerized app?</p>