当我在rubymine中运行调试器时,我在下面获取该服务器日志,因此它似乎正在工作,但是当我走这条路径时http://127.0.0.1:51271仍在加载,所以我不知道这是否是使用该方法的正确方法调试器,那么如何让调试器开始工作?
/home/developer/.rvm/rubies/ruby-2.0.0-p647/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/developer/.rvm/gems/ruby-2.0.0-p647/gems/ruby-debug-ide-0.6.0/bin/rdebug-ide --disable-int-handler --evaluation-timeout 10 --rubymine-protocol-extensions --port 51271 --dispatcher-port 55708 -- /home/developer/linux-shared/projects/apps/bin/rails server -b 0.0.0.0 -p 3000 -e development
Fast Debugger (ruby-debug-ide 0.6.0, debase 0.2.1, file filtering is supported) listens on 127.0.0.1:51271
=> Booting WEBrick
=> Rails 4.1.5 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
I, [2015-10-28T09:59:32.438087 #11696] INFO -- : ** [Bugsnag] Bugsnag exception handler 2.5.1 ready, api_key=432a2b27ce528437b2f65848a370856c
[2015-10-28 09:59:33] INFO WEBrick 1.3.1
[2015-10-28 09:59:33] INFO ruby 2.0.0 (2015-08-18) [x86_64-linux]
[2015-10-28 09:59:33] INFO WEBrick::HTTPServer#start: pid=11696 port=3000
顺便说一句,如果我进入http://0.0.0.0:3000,应用程序会进入,但是brakpoints永远不会被触发
答案 0 :(得分:0)
可能是在Gemfile中调试gems的问题。