gems: replace pry with debug.

Replace the 'pry' gem with the 'debug' gem. The debug gem is the new
standard debugger in Ruby 3.1.

Use `binding.break` instead of `binding.pry` to set breakpoints.

Install the extension below for VS Code support.

https://github.com/ruby/debug#how-to-use
https://marketplace.visualstudio.com/items?itemName=KoichiSasada.vscode-rdbg
This commit is contained in:
evazion
2022-04-23 20:56:29 -05:00
parent b0437efe6c
commit e698bf91ee
3 changed files with 14 additions and 19 deletions

View File

@@ -117,7 +117,6 @@ GEM
bootsnap (1.11.1)
msgpack (~> 1.2)
builder (3.2.4)
byebug (11.1.3)
capybara (3.36.0)
addressable
matrix
@@ -139,6 +138,9 @@ GEM
daemons (1.4.1)
dante (0.2.0)
dead_end (3.1.1)
debug (1.4.0)
irb (>= 1.3.6)
reline (>= 0.2.7)
debug_inspector (1.1.0)
declarative (0.0.20)
derailed_benchmarks (2.1.1)
@@ -254,7 +256,10 @@ GEM
httpclient (2.8.3)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
io-console (0.5.11)
ipaddress_2 (0.14.0)
irb (1.4.1)
reline (>= 0.3.0)
jaro_winkler (1.5.4)
jmespath (1.6.1)
json (2.6.1)
@@ -327,14 +332,6 @@ GEM
ast (~> 2.4.1)
pg (1.3.5)
prometheus-client (4.0.0)
pry (0.13.1)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.9.0)
byebug (~> 11.0)
pry (~> 0.13.0)
pry-rails (0.3.9)
pry (>= 0.10.4)
public_suffix (4.0.7)
puma (5.6.4)
nio4r (~> 2.0)
@@ -396,6 +393,8 @@ GEM
json
redis (4.6.0)
regexp_parser (2.3.0)
reline (0.3.0)
io-console (~> 0.5)
representable (3.1.1)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
@@ -531,6 +530,7 @@ DEPENDENCIES
codecov
crass
daemons
debug
derailed_benchmarks
diff-lcs
dotenv-rails
@@ -560,8 +560,6 @@ DEPENDENCIES
oauth2
parallel
pg
pry-byebug
pry-rails
public_suffix
puma
puma-metrics