Skip to content

Commit 837b0f9

Browse files
author
David Heinemeier Hansson
committed
Turn on ruby/debug by default in dev + test
Then you can halt execution any time with binding.b.
1 parent df94beb commit 837b0f9

File tree

1 file changed

+1
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/Gemfile.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ gem "bootsnap", ">= 1.4.4", require: false
4444
<% if RUBY_ENGINE == "ruby" -%>
4545
group :development, :test do
4646
# See https://github.com/ruby/debug for usage.
47-
gem "debug", ">= 1.0.0", platforms: [:mri, :mingw, :x64_mingw], require: false
47+
gem "debug", ">= 1.0.0", platforms: [:mri, :mingw, :x64_mingw]
4848
end
4949

5050
<% end -%>

0 commit comments

Comments
 (0)