Ruby-debug color?

For people who use ruby-debug, are you doing anything to make it output in color? I am setting up wirble right now to colorize my irb, but it will not colorize a beautiful print (which I believe comes from ruby-debug instead of irb)

+4
source share
1 answer

Rewriting ruby-debug rb-trepanning (for fixed 1.9.2) and rbx-trepanning (for rubinius 1.2.x) supports colorized printing and even assembly using 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. If there is sufficient demand, this code can be returned back to ruby-debug. But that would mean a new version of the cache line of the source code cache.

0
source

Source: https://habr.com/ru/post/1342374/


All Articles