[SPARK-4057] Use -agentlib instead of -Xdebug in sbt-launch-lib.bash for debugging 

In -launch-lib.bash, -Xdebug option is used for debugging. We should use -agentlib option for Java 6+.