如何摆脱IntelliJ中的额外调试信息?

时间:2012-08-21 20:47:14

标签: intellij-idea rubymine

我在IntelliJ内部调试信息过多,我不知道如何摆脱它?这适用于ruby + rails应用程序。

Fast Debugger (ruby-debug-ide 0.4.17.beta14, ruby-debug-base 0.11.30.pre10) listens on 127.0.0.1:12685
Connected from 127.0.0.1
11247: Starting control thread
11247: Processing in control: b /Users/kamilski81/Sites/sc/config/initializers/mongoid.rb:9
11247: <breakpointAdded no="1" location="/Users/kamilski81/Sites/sc/config/initializers/mongoid.rb:9"/>
11247: Processing in control: b /Users/kamilski81/Sites/sc/config/initializers/mongoid.rb:2
11247: <breakpointAdded no="2" location="/Users/kamilski81/Sites/sc/config/initializers/mongoid.rb:2"/>
11247: Processing in control: b /Users/kamilski81/.rvm/gems/ruby-1.9.3-p194@sc/gems/rails_admin-0.0.5/lib/rails_admin/config/model.rb:27
11247: <breakpointAdded no="3" location="/Users/kamilski81/.rvm/gems/ruby-1.9.3-p194@sc/gems/rails_admin-0.0.5/lib/rails_admin/config/model.rb:27"/>
11247: Processing in control: b /Users/kamilski81/.rvm/gems/ruby-1.9.3-p194@sc/gems/rails_admin-0.0.5/lib/rails_admin/config.rb:240
11247: <breakpointAdded no="4" location="/Users/kamilski81/.rvm/gems/ruby-1.9.3-p194@sc/gems/rails_admin-0.0.5/lib/rails_admin/config.rb:240"/>
11247: Processing in control: b /Users/kamilski81/Sites/sc/app/controllers/application_controller.rb:52

1 个答案:

答案 0 :(得分:2)

IntelliJ IDEA和RubyMine默认情况下不会这样做,很可能是print_debug方法的输出,因为Debugger.cli_debug=true存在于代码中的某个位置,或者您有RUBYMINE_DEBUG_VERBOSE个环境变量集到true,或启用此选项:

verbose debugger output

(IntelliJ IDEA具有相同的设置)