From time to time I find myself needing to write or debug JRuby. The platform I'm on doesn't have a Ruby debugger so it requires loads of print statements to show the value of variables at various points. Coming from a Visual Studio C/C++ background this feels like the stone age. I have googled and chatGPT'd around but not found anything helpful so far. Surely there must be a way to setup VSCode or something similar to provide an IDE and debugger that an old C dinosaur like me would be comfortable with?
I've tried Rubymine which apparently supports debugging - I can add breakpoints and press the 'debug' button but it just doesn't do anything. I think it requires installing add-ons (gems), making config changes etc and buggered if I can find a simple explanation of exactly what. Feels like it's a secret society and I'm not allowed to know this stuff?
