Debug
Its possible to pause the code to analyze variables, and step through the code.
In your Ruby View
require "byebug"
Where a break in the code is needed, enter this
byebug
Attach to the container
To see the debug window
$ docker attach sv-app
Quit the container
You need to press this key combination to exit the container, if not it will stop.
press ctrl-p, ctrl-q
If the container stops
If you exit the container by pressing ctrl-c instead of the recommended way, it will stop. In that case:
$ docker start sv-app