...
- Go to Run --> Attach to Local Processes.
- Set a breakpoint.
- Execute a command in Impala shell.
- Start debugging.
Use PyCharm to Run/Debug impala_shell.py
Need to set Environment Variables like what $IMPALA_HOME/bin/impala-python did:
1. bash -x $IMPALA_HOME/bin/impala-python
2. Copy PYTHONPATH and paste it to Environment Variables in Run/Debug Configurations
3. Environment Variables
4. Run/Debug Configurations
5. Setting break point and debug
Using clang-format in IntelliJ and CLion
...