Thanks for sharing your setup, it's really helpful.
I have the above two questions regarding CLion configuration, from this part of the README:
https://github.com/shuhaoliu/docker-clion-dev#usage
Check the file mapping settings in Clion. Before each run, code will be rsync-ed to the container at a temporary location.
How should you configure the local and "remote" mapping for local debugging (source is on your dev machine)? (Partially answered in #4)
Is there a way to avoid rsync-ing, considering the source is already on the local dev machine?