DEV: Add pry-stack_explorer plugin gem (#26732)

This is only required in rails_helper, otherwise it is
not loaded. Allows for better debugging by allowing
navigation of the call stack from the point of `binding.pry`

c.f. https://github.com/pry/pry-stack_explorer
This commit is contained in:
Martin Brennan 2024-04-24 14:35:21 +10:00 committed by GitHub
parent 0cd4d7ddd1
commit 09f5af608f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

View File

@ -86,8 +86,6 @@ gem "oj"
gem "pg"
gem "mini_sql"
gem "pry-rails", require: false
gem "pry-byebug", require: false
gem "rtlcss", require: false
gem "rake"
@ -146,6 +144,9 @@ group :test, :development do
gem "shoulda-matchers", require: false
gem "rspec-html-matchers"
gem "pry-rails", require: false
gem "pry-byebug", require: false
gem "pry-stack_explorer", require: false
gem "byebug", require: ENV["RM_INFO"].nil?, platform: :mri
gem "rubocop-discourse", require: false
gem "parallel_tests"

View File

@ -308,6 +308,9 @@ GEM
pry (>= 0.13, < 0.15)
pry-rails (0.3.9)
pry (>= 0.10.4)
pry-stack_explorer (0.6.1)
binding_of_caller (~> 1.0)
pry (~> 0.13)
public_suffix (5.0.5)
puma (6.4.2)
nio4r (~> 2.0)
@ -623,6 +626,7 @@ DEPENDENCIES
pg
pry-byebug
pry-rails
pry-stack_explorer
puma
rack
rack-mini-profiler

View File

@ -19,6 +19,7 @@ require "rbtrace" if RUBY_ENGINE == "ruby"
require "pry"
require "pry-byebug"
require "pry-rails"
require "pry-stack_explorer"
require "fabrication"
require "mocha/api"
require "certified"