'Rails debugger does not work after setting up breakpoint

I'm using RubyMine. And it's not my project fault, I've created a brand new project but the same error show up. Ruby 3.1.1 Rails 7.0.3



Solution 1:[1]

The solution was to remove gem 'debug' from Gemfile.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Benjamin Harel