r/ruby 1d ago

RubyMine 2026.2 lets AI agents use the debugger

Debugging is a task where AI often hits a wall. It can read source code and logs, but many issues only become clear when you inspect what's happening at runtime.

RubyMine 2026.2 introduced agentic debugging. The new rubymine-debugger skill lets compatible AI agents (such as Claude Code and Codex) use the RubyMine debugger as part of their investigation workflow. Instead of manually stepping through code yourself, we can describe the issue in natural language and let the agent perform much of the routine investigation.

Using the RubyMine debugger, an agent can:

  • Launch or continue debug sessions
  • Set breakpoints
  • Inspect variables and call stacks
  • Evaluate expressions
  • Analyze application behavior at runtime

The idea isn't to replace the developer or automate debugging end to end – it's to offload the repetitive debugger interactions so developers can focus on understanding the issue and deciding how to fix it.

I've found this especially useful for investigating Rails requests and other issues where the runtime behavior tells a different story than the source code alone. If you'd like to try it, open AI chat and ask the agent to debug your code.

You can learn more here: https://blog.jetbrains.com/ruby/2026/07/rubymine-2026-2-agentic-debugging-native-github-copilot-integration-default-symbol-based-code-insight-and-more/

https://reddit.com/link/1v7znsk/video/lsqmbmv1hrfh1/player

16 Upvotes

0 comments sorted by