Skip to content

Commit

Permalink
Add ruby debug as an alternative to pry/byebug
Browse files Browse the repository at this point in the history
I kept hitting this undefined constant error, see
deivid-rodriguez/byebug#564

to use debug insert `binding.break`
  • Loading branch information
hackartisan committed Nov 27, 2023
1 parent 8cb94c6 commit 4fa38cc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ group :development, :test do
gem "bcrypt_pbkdf"
gem "bixby", "~> 5.0"
gem "bundler-audit", require: false
gem "debug"
gem "dotenv-rails"
gem "ed25519"
gem "factory_bot_rails"
Expand Down
11 changes: 11 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ GEM
libddwaf (~> 1.3.0.2.0)
msgpack
debase-ruby_core_source (0.10.16)
debug (1.8.0)
irb (>= 1.5.0)
reline (>= 0.3.1)
declarative (0.0.20)
deprecation (1.1.0)
activesupport
Expand Down Expand Up @@ -513,7 +516,11 @@ GEM
activesupport (>= 3.2.18)
faraday (>= 0.9)
json
io-console (0.6.0)
io-wait (0.2.1)
irb (1.9.1)
rdoc
reline (>= 0.3.8)
iso-639 (0.3.6)
jaro_winkler (1.5.4)
jbuilder (2.11.5)
Expand Down Expand Up @@ -852,6 +859,7 @@ GEM
rdf-xsd (3.2.1)
rdf (~> 3.2)
rexml (~> 3.2)
rdoc (6.3.3)
recipient_interceptor (0.3.1)
mail
redis (4.8.1)
Expand All @@ -865,6 +873,8 @@ GEM
activemodel (>= 5.0)
reform (>= 2.3.1, < 3.0.0)
regexp_parser (2.7.0)
reline (0.4.0)
io-console (~> 0.5)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
Expand Down Expand Up @@ -1179,6 +1189,7 @@ DEPENDENCIES
database_cleaner
database_cleaner-sequel
ddtrace
debug
devise (>= 4.6.0)
devise-guests!
dnsruby
Expand Down

0 comments on commit 4fa38cc

Please sign in to comment.