DEV: Require pry-byebug in development mode (#18952)

We already do this in test mode, so let's do it in
development mode too. It adds better step-by-step
debugging and callstack navigation, see the readme
for more details:

https://github.com/deivid-rodriguez/pry-byebug
This commit is contained in:
Martin Brennan 2022-11-10 09:58:39 +10:00 committed by GitHub
parent 5268da037a
commit 3b735d8fc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ if !GlobalSetting.skip_redis?
end
require 'pry-rails' if Rails.env.development?
require 'pry-byebug' if Rails.env.development?
require 'discourse_fonts'