shuhaoliu / docker-clion-dev

Debugging C++ in a Docker Container with CLion IDE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What should the mapping be for local debugging? Is there a way to avoid rsync-ing?

zori opened this issue · comments

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?

Following this