mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
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:
parent
0cd4d7ddd1
commit
09f5af608f
5
Gemfile
5
Gemfile
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user