-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
HISTORY is unavailable when using rails console with RUBY_DEBUG_IRB_CONSOLE=1 #975
Labels
bug
Something isn't working
Comments
sunblaze
added a commit
to sunblaze/irb
that referenced
this issue
Dec 12, 2024
When starting a debug session directly with RUBY_DEBUG_IRB_CONSOLE=1 and `require 'debug'; debugger`, IRB's history wasn't loaded. This commit ensures history is loaded in this case by calling `load_history` when configuring IRB for the debugger. Fixes ruby#975
I think the issue is just between |
st0012
added a commit
that referenced
this issue
Dec 12, 2024
* Load history when starting a direct debug session When starting a debug session directly with RUBY_DEBUG_IRB_CONSOLE=1 and `require 'debug'; debugger`, IRB's history wasn't loaded. This commit ensures history is loaded in this case by calling `load_history` when configuring IRB for the debugger. Fixes #975 * Update test/irb/test_history.rb * Update lib/irb/debug.rb --------- Co-authored-by: Stan Lo <stan001212@gmail.com>
matzbot
pushed a commit
to ruby/ruby
that referenced
this issue
Dec 12, 2024
(ruby/irb#1046) * Load history when starting a direct debug session When starting a debug session directly with RUBY_DEBUG_IRB_CONSOLE=1 and `require 'debug'; debugger`, IRB's history wasn't loaded. This commit ensures history is loaded in this case by calling `load_history` when configuring IRB for the debugger. Fixes ruby/irb#975 * Update test/irb/test_history.rb * Update lib/irb/debug.rb --------- ruby/irb@7f851b5353 Co-authored-by: Stan Lo <stan001212@gmail.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Description
Rails console HISTORY is unavailable with
RUBY_DEBUG_IRB_CONSOLE=1
Preparation
Create new rails app with
rails new appname
.Add
gem 'spring'
to Gemfile and runspring binstub --all
. (This step is optional)versions are:
Reproduce
Without spring
With spring
Result of irb_info
The text was updated successfully, but these errors were encountered: