Starting Clion in Docker container
Hi
I am in the situation where i have to run CLion in a CentOs 6 Docker container where XMing server on the windows host takes care of displaying the GUI.
It roughly works but I do have a couple of issues:
1. Every time i start the container, i have to go through the process of setting up the environment. Is there a way to pass a settings file to the clion startup script that has a path to the license file, preference of themes and plugins?
2. Whenever i start a debug session and set breakpoints, the breakpoints are being ignored. What can be done to get the breakpoints to be hit?
And a question.
Is there a way to use CLion on a host machine while the used toolchain and source reside in a Docker container? I had the impression that it is possible for PyCharm.
Thanks
Kind regards,
Vlad
请先登录再写评论。
The first issue can be solved via creation of a separate image that has the configured state of clion (docker commit command on a running image). Although it would be handy if the preferred options could be passed as cmd line params.
The question i had is addressed in https://youtrack.jetbrains.com/issue/CPP-744
The second issue remains...
Sorry for the delay. As for the second issue, please enable debug logging by entering
#com.jetbrains.cidr.execution.debuggerinto Help | Configure Debug Log Settings, restart the IDE, reproduce the problem and send us idea.log (Help | Show Log in Finder) to clion-support at jetbrains.com. Do not forget to disable debug logging after that.