In the left-hand pane that lists all the existing server configurations, click and select the server configuration type depending on the protocol you are going to use to exchange the data with the server.įTP: choose this option to have CLion access the server via the FTP file transfer protocol. Press Control+Alt+S to open the IDE settings and then select Build, Execution, Deployment | Deployment.Īlternatively, go to Tools | Deployment | Configuration. Specify the name, type, and visibility of a server configuration The server configuration root folder and the URL address to access it.Ĭorrespondence between the project root folder, the folder on the server to copy the data from the project root folder to, and the URL address to access the copied data on the server. To configure access to the server in this setup, you need to specify the following:Ĭonnection settings: server host, port, and user credentials. If you are working with gdbserver, refer to Remote debugging. See this page for a summary of remote development options in CLion. You can use FTP/SFTP/FTPS protocols to access the remote host. Manually download and install JetBrains Gateway app.Use this dialog to configure deployment entries for your remote project (CMake or Makefile). Install JetBrains Gateway using the JetBrains Toolbox App. In this case, when you open the CLion welcome screen, the Remote Development option will be available immediately and you can connect to your remote server using SSH. Use CLion and the enabled Remote Development Gateway plugin in it. You can use one of the following ways to launch JetBrains Gateway: It launches JetBrains Client, which is a thin client that enables you to work with your remote project. JetBrains Gateway is used as an entry point to connect to a remote server via SSH. The connection is established, the backend IDE is downloaded, and the project is opened in JetBrains Client. On the next page, select the IDE version and the project you want open. On the next page, select the WSL instance and click Next. On the CLion welcome screen, select Remote Development.įrom the options on the right, click New Connection. You use the latest EAP version of the backend IDE.Įnsure you have the Remote Development Gateway plugin enabled. You use the latest EAP build of JetBrains Gateway. You have at least 200 GB of available space, 8 GB RAM, and 4 CPUs. For more information, refer to the WSL2 configuration section. You have WSL2 configured on your Windows machine. You have the Windows 10 or 11 version installed on your machine with the Ubuntu 20.04 version installed under WSL2. You can configure your IDE backend to launch directly in WSL2.īefore you start connecting to WSL, make sure the following prerequisites are met: The thin client, for example, a laptop, connects to the host and transparently provides full access to all IDE features. The remote host is a physical (Linux) or virtual machine hosting the source code and running a headless CLion instance. Remote development lets you use the IDE interface on a thin client while having a powerful remote host to check out and load your project, index, analyze, build, run, debug, and test your code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |