Skip to content

Commit

Permalink
Change debugger setup
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Dec 25, 2024
1 parent 68812bf commit ef2f4b4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@

require "dotenv/load"

begin
require ENV["DEBUGGER"] || "byebug"
[ENV["DEBUGGER"], "byebug", "debug", "pry"].compact.each do |debugger|
require debugger
rescue LoadError
require "pry"
else
break
end

if ENV["ROM_COMPAT"] == "true"
Expand Down

0 comments on commit ef2f4b4

Please sign in to comment.