Closed ThisIsMissEm closed 1 month ago
Hm interesting that 1 test started to fail :thinking:
Hm interesting that 1 test started to fail 🤔
I think that test case may be flakey, have seen failures for it in other branches too
This change broke tests for Rails < 7.1: https://github.com/doorkeeper-gem/doorkeeper/pull/1742. I don't think this was flaky.
Summary
Whilst working on #1735, I noticed it was hard to debug the code, this change adds a fairly opinionated way to debug the code when developing the doorkeeper gem. Additionally I've fixed the warning in the tests that I mentioned in #1732.
Now when developing in either the code or the specs, you can use the
debugger
keyword to jump into an interactive debugging session.Other Information
Why include irb in the Gemfile? That's been recommended by the irb authors, due to irb bundled with ruby frequently being out of date with the state of irb development.