Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure history is saved after entering irb:rdbg sessions
IRB saves history when exiting `Irb#run` with `IRB.conf[:AT_EXIT]`. But because `irb:rdbg` doesn't run inside `Irb#run`, history is not saved when exiting. Therefore, we need to register the history-saving callback manually to `at_exit` when we start `irb:rdbg`.
- Loading branch information