Problems debugging plugin code in debugger

Is this functionality technically supported yet? A year ago, Peter said it was not: http://forums.gradle.org/gradle/topics/how_do_you_attach_a_debugger_to_gradle_so_that_i_can_debug_it_running_a_task .

So you’re saying that setting “org.gradle.debug=true” sets some default “-Xdebug” arguments, and whatever goes in GRADLE_OPTS will override it?