diff --git a/docs/DEV.rst b/docs/DEV.rst
index d108b71a5..f3d66ff82 100644
--- a/docs/DEV.rst
+++ b/docs/DEV.rst
@@ -22,6 +22,9 @@ Python
`sphinx `_ for `readthedocs `_
Sphinx is a powerful documentation generator that has many features for writing technical documentation. Sphinx is written in Python, and supports documentation written in reStructuredText and Markdown.
+IDEs
+----
+
`VSCode `_
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The AppDaemon repo itself contains some configuration specifically for VSCode, which makes some routine tasks easier.
@@ -33,6 +36,25 @@ The AppDaemon repo itself contains some configuration specifically for VSCode, w
`Ruff Extension `_
A Visual Studio Code extension for Ruff, an extremely fast Python linter and code formatter, written in Rust. Available on the Visual Studio Marketplace.
+`PyCharm `_
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+PyCharm is another popular Python IDE. To run and debug AppDaemon from PyCharm, create a Python run configuration with the following important settings:
+
+- Run the module (not the ``__main__.py``):
+ Create a new Run/Debug Configuration: Run → Edit Configurations… → + → Python.
+ Select the ``Module`` option and enter the package/module (e.g. ``appdaemon``). Do **not** point the configuration at ``__main__.py`` — run the package/module instead.
+- Set parameters as usual:
+ If you need to pass arguments (for example to point to a config directory), set them in "Parameters" (e.g. ``-c ./conf``).
+- Set the working directory to the project root:
+ Do not set the ``appdaemon`` directory as the working directory; set the project root instead (the directory that contains ``appdaemon``).
+- Disable ``Add source roots to PYTHONPATH``:
+ In the same configuration, uncheck the "Add source roots to PYTHONPATH" option (and "Add content roots to PYTHONPATH" if present in your PyCharm version). This prevents PyCharm from changing import paths in a way that differs from typical runtime environments.
+
+.. figure:: images/pycharm-run-module.png
+ :alt: Run module option
+.. figure:: images/pycharm-disable-add-source-roots.png
+ :alt: Disable "add source roots to PYTHONPATH"
+
Dev Setup
---------
Pre-requisites
diff --git a/docs/images/pycharm-disable-add-source-roots.png b/docs/images/pycharm-disable-add-source-roots.png
new file mode 100644
index 000000000..ebe02a2e4
Binary files /dev/null and b/docs/images/pycharm-disable-add-source-roots.png differ
diff --git a/docs/images/pycharm-run-module.png b/docs/images/pycharm-run-module.png
new file mode 100644
index 000000000..2a71cd767
Binary files /dev/null and b/docs/images/pycharm-run-module.png differ