What is the best way to debug in JRuby 9000? Pry and Byebug are both MRI-dependent. All the JRuby info that I have found seem to be only for pre-9k, and are not working for my JRuby 9k setup.
As you can see in https://rubygems.org/gems/pry/versions, there are many java versions of pry that work very well with jruby since jruby 1.6.
Pry is not MRI dependent. You can also use pry-remote in case your application is a web server or a rails app.
I've tried using byebug and gave up since it was not supported on jruby.
The ruby-debug-ide-0.4.28 and ruby-debug-base-0.10.5.rc10-java gems seem to work with the intellij ruby plugin, using JRuby 9.0.0.0.rc2.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With