提交 35eda7d6 编写于 作者: D David Heinemeier Hansson

Fixed that the debugger wouldn't go into IRB mode because of left-over ARGVs [DHH]

上级 78790e47
*Edge*
* Fixed that the debugger wouldn't go into IRB mode because of left-over ARGVs [DHH]
* I18n support for plugins. #2325 [Antonio Tapiador, Sven Fuchs]
* Ruby 1.9: use UTF-8 for default internal and external encodings. [Jeremy Kemper]
......
......@@ -4,6 +4,8 @@ class Debugger
def initialize(app)
@app = app
ARGV.clear # clear ARGV so that script/server options aren't passed to IRB
require_library_or_gem 'ruby-debug'
::Debugger.start
::Debugger.settings[:autoeval] = true if ::Debugger.respond_to?(:settings)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册