I working on project which requires cross compilation.
1. I have docker (clion connects to it via SSH. Call it machinA) which has necessary tool-chain. I build the code and gets exec (test1) as result in machinA.
2. Now I need to debug this exec on machinB- clion connects to it via SSH. I use Run/Debug Configuration and choose Remote GDB Server. When I try to run debug session I get ERROR that CLion can't find exec. It tries to find it on my local PC machine instead of on machinA where it currently is.
Why Clion is searching artefacts on local PC while toolchain was set on remote? It should acutally gets the build result form machineA and run it on machineB. My PC should be only to display Clion GUI