byebug

You can activate byebug by plopping `byebug` inline, and this will put you in irb

To get byebug with pry, plop in `binding.pry` and you'll get that instead.

context "when a bad guess is made" do let(:guess_data) do { letter: 'z'} end it "does not change correct guesses" do binding.pry # <~ for byebug + pry byebug # <~ vanilla byebug + irb expect{service.call}.to_not change{game.reload.guesses.correct} end end

Byebug is a simple to use, feature rich debugger for Ruby 2.

Byebug uses irb by default. However, the people around me are using pry, so I'm trying to use that at the moment.