cloud-fan commented on a change in pull request #259: Add remote debug guidance URL: https://github.com/apache/spark-website/pull/259#discussion_r376908247
########## File path: developer-tools.md ########## @@ -435,6 +435,46 @@ Error:(147, 9) value q is not a member of StringContext q""" ^ ``` +<h4>Remote Debug Unit Test</h4> +This part will show you how to debug unit test in SBT with the help of remote debug functionality which provided by IntelliJ. + +<h5>Set up Remote Debug Configuration</h5> +Follow <i>Run > Edit Configurations > + > Remote</i> to open a default Remote Configuration template: +<img src="/images/intellij_remote_debug_configuration.png" style="width: 75%; max-width: 660px;" /> + +Normally, the default values should be good enough to use. Make sure that you choose <b>Listen to remote JVM</b> +as <i>Debugger mode</i> and select the right <i>Command line arguments for remote JVM</i> as per your JDK version. Review comment: `select the right JDK version to generate proper <i>Command line arguments for remote JVM</i>` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org