Remote Development
There are three options for remote development in CLion, Full Remote Mode, Remote Debug via GDB/gdbserver, and WSL, each targeting a subset of remote development setups. To help you compare these three options and choose the most suitable one, we summarized their details in the tables given below. Learn more from our webinar Remote Development with CLion and the articles dedicated to each option.
System and IDE configuration
Full Remote Mode | WSL | Remote GDB/gdbserver | |
---|---|---|---|
Local OS | macOS / Linux / Windows | Windows | macOS / Linux / Windows |
Remote OS | Linux | Certain Linux distributions | Any OS supporting gdbserver |
Connection protocol | SSH | SSH | TCP / UDP or serial line |
Required tools | - | gdbserver on target | |
Sources location | Locally | Locally | Locally |
Synchronization | Automatic | Not required | Manual |
Building | Remotely | On WSL | Not specified |
Runing Debugging | Remotely | On WSL | Program runs remotely under gdbserver; |
Project-level settings
Full Remote Mode | WSL | Remote GDB/gdbserver | |
---|---|---|---|
Project format | CMake | CMake / Compilation database | Any |
Toolchain | Remote | WSL | Not specified |
Path mappings | Created automatically, | Not required | Not created automatically, |
Steps of the workflow
Full Remote Mode | WSL | Remote GDB/gdbserver |
---|---|---|
|
|
|