Posts in Category: Rails
03 Nov 2017
Remote debug Ruby on Rails running in a Docker container using RubyMine
RubyMine brings a sophisticated debugger with a graphical UI for Ruby, JS, and CoffeeScript. You can set breakpoints and run your code step by step with all the information at your fingertips, without having to modify your code as Pry.
This article is written about how one can use RubyMine to remote debug a Ruby on Rails application that even runs inside a Docker container.
Versions of software in our environment
- RubyMine 2017.2.4 (Build #RM-172.4155.44, built on September 26, 2017)
- Ruby inside docker (ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux])
- Ruby SDK and Gems used by RubyMine (ruby-2.4.2-p198)