zhangyi-hu opened a new issue #16621: URL: https://github.com/apache/airflow/issues/16621
**Description** The breeze container is the preferred way of development setup since it provides a full-fledged and isolated environment. However, breeze container is not very suitable for IDE development. **Use case / motivation** My IDEs actually support remote development and the only additional requirement is for a host to support ssh connection. We can make breeze container support ssh connection by adding two changes: 1. Add a password to user airflow for the CI Docker image. 2. Add a portforward to 22 from host. **Are you willing to submit a PR?** Yes a PR is on the way **Setup with Pycharm pro** 1. Add a ssh configuration, with user airflow and password airflow and the default ssh port 12322, (12322 will be forward to 22) 2. Add a remote ssh interpreter, (airflow@localhost:12322/usr/local/bin/python) 3. Add two source mappings from local source to container: <source root>/airflow -> /opt/airflow/airflow; <source root>/tests -> /opt/airflow/tests. 4. Set the unnit test framework for this project as pytest. After those steps, one will be able to set breakpoints and debug through the python codes in Pycharm. -- 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: [email protected]
