For the people who use ruby-debug, do you do anything to get it to output in color? I'm setting up wirble right now to colorize my irb, but it's not going to colorize pretty print (which, I believe comes from ruby-debug instead of irb)
For the people who use ruby-debug, do you do anything to get it to output in color? I'm setting up wirble right now to colorize my irb, but it's not going to colorize pretty print (which, I believe comes from ruby-debug instead of irb)
The rewrite of ruby-debug rb-trepanning (for a patched 1.9.2) and rbx-trepanning (for rubinius 1.2.x) support colorized listing and even assembly output via the CodeRay gem.
See https://github.com/rocky/rb-trepanning/wiki/Terminal-Colors and https://github.com/rocky/rbx-trepanning/wiki/Terminal-Colors
There is nothing in ruby-debug right now. If there is sufficient demand, that code could be back-ported to ruby-debug. But it would mean a new version of the source-code line caching gem linecache.