I couldn't find any specific information on setting up IntelliJ to debug PySpark correctly, so I did a short writeup here, after fumbling my way through it: https://github.com/jeff303/spark-development-tips
Any improvements, corrections, or suggestions are welcomed.