-
Easy Debug / Trace Ruby output like set -x in bash 10 lines of Ruby (or less)
In writing some shell scripts in ruby, I decided that I needed to be able to debug (trace) the lines that were being executed. I even ran across a closed StackOverflow question looking for the same thing — a way to trace ruby like set -x in bash. A very naïve script to add tracing…