RubyFlow The Ruby and Rails community linklog

Implementing a basic debug mode for Ruby CLI

In my latest article about debug mode in CLI Ruby programs I am mentioning how to print backtraces on demand, incorporate a logger that does nothing when does not need to and how to directly flush all stdout to the underlying OS without buffering it up.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in