diff --git a/python/docs/source/development/debugging.rst b/python/docs/source/development/debugging.rst index c5f3351527..bc141a6f44 100644 --- a/python/docs/source/development/debugging.rst +++ b/python/docs/source/development/debugging.rst @@ -35,7 +35,7 @@ with JVM. Profiling and debugging JVM is described at `Useful Developer Tools `__. +- If you are running locally, you can directly debug the driver side via using your IDE without the remote debug feature. Setting PySpark with IDEs is documented `here `__. - *There are many other ways of debugging PySpark applications*. For example, you can remotely debug by using the open source `Remote Debugger `_ instead of using PyCharm Professional documented here. diff --git a/python/docs/source/development/setting_ide.rst b/python/docs/source/development/setting_ide.rst index dcb44c1483..6e8f0148c6 100644 --- a/python/docs/source/development/setting_ide.rst +++ b/python/docs/source/development/setting_ide.rst @@ -50,7 +50,7 @@ Let's go to the path ``python/pyspark/tests`` in PyCharm and try to run the any You might can see the ``KeyError: 'SPARK_HOME'`` because the environment variable has not been set yet. Go **Run -> Edit Configurations**, and set the environment variables as below. -Please make sure to specify your own path for ``SPARK_HOME`` rather than ``/.../spark``. After completing the variable, click **Okay** to apply the changes. +Please make sure to specify your own path for ``SPARK_HOME`` rather than ``/.../spark``. After completing the variable, click **OK** to apply the changes. .. image:: ../../../../docs/img/pycharm-with-pyspark2.png :alt: Setting up SPARK_HOME