Debugging functionality for Ruby