Any ideas how can I debug my unit tests in IDEA 10? It executes the
following command:
“c:\applications\jetbrains\intellij idea 10.0\jre\jre\bin\java.exe”
-Xverify:none -da -Xmx500m -Xss1024k -cp
C:\Java\jruby-1.6.1\lib\jruby.jar -Djruby.base=C:\Java\jruby-1.6.1
-Djruby.home=C:\Java\jruby-1.6.1 -Djruby.lib=C:\Java\jruby-1.6.1\lib
-Djruby.shell=“cmd.exe” -Djruby.script=jruby.bat
-Djruby.reflection=true -Djruby.compile.mode=OFF
-Djruby.debug.fullTrace=true org.jruby.Main -X+O --debug -S
C:/Java/jruby-1.6.1/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.17.beta3/bin/rdebug-ide
–port 64445 –
C:/Projects/iris/trunk/shared/plugins/firetimes_model/test/models/time_entry_test.rb
-n test_find_automatic_chargecode_with_automatic_chargecode
Fast Debugger (ruby-debug-ide 0.4.17.beta3, ruby-debug-base 0.10.3.2)
listens on 127.0.0.1:64445
but then cannot connect to the process:
-Disconnected
Has anybody had any luck debugging JRuby from IDEA?
Cheers,
Behrang S.