Useful Developer Tools | Apache Spark
spark.apache.org › developer-toolsYou can follow Run > Run > Your_Remote_Debug_Name > Debug to start remote debug process and wait for SBT console to connect: Trigger the remote debugging. In general, there are 2 steps: Set JVM options using the Command line arguments for remote JVM generated in the last step. Start the Spark execution (SBT test, pyspark test, spark-shell, etc.)