Checking no debugger on JRuby

fixes tests for JRuby
Merge pull request #13097 from arunagw/jruby-test-fixes

Skipping debugger inclusion test if JRuby