-
Yet another hack how to enable the syntax highlighting for the byebug gem.
-
Works for v10.0.0 and higher.
-
Place the content of byebug_syntax_highlighting.rb somewhere in your codebase (Inside an initializer for example, if you are using Rails).
-
Do not forget to include byebug and rouge to the Gemfile as well.
-
Enjoy 🎉 🎉 🎉
P.S. If you like to choose a different theme, just replace Monokai
from theme = Rouge::Themes::Monokai.new
to any available alternative from this list.
It doesn't work on byebug "11.1.3"