Setting up your developer tools for remote hosting of the connector code
As a developer, you can remotely debug the connector code to resolve issues or add custom code. If multiple users debug the same code, the changes are merged and saved. You can use your own developer tools like IntelliJ, VS Code, and Eclipse to remotely debug the code. However, you must configure your developer tool to access the connector code remotely.
To enable remote hosting on IntelliJ
Download the latest version of Intellij Ultimate on your system. To download IntelliJ, see the Jetbrains
site.
- Start IntelliJ and navigate to Files > Setting.
- Select Build, Execution, Deployment, and select Deployment.
To add a new configuration, click + and enter the following values on the Connection page:
Field Value Type Select SFTP. Host Host name of the remote server. User name User ID of the user to be used to access the remote host. Authentication Password of the user to access the remote system. - Click Test Connection.
- On the Mapping tab, add the deployment path with /.
- Click Apply, and then Save.
You can now edit the files on the remote host. - To update your changes on the remote system, click UPLOAD CURRENT REMOTE FILE.
- Verify that the changes have been updated on the remote system.
Repeat the procedure for all host systems from where the code can be debugged.
To enable remote hosting on VS Code
- Download the latest version of VS Code on your system. To download VS Code, see the
Visual Studio
site.
- Start VS Code and press Ctrl+Shift+X to start the extension marketplace.
- Search for the Remote Development plug-in and install it.
In the remote explorer, the SSH target, WSL Target, and container options are available. - Select SSH Target, and click +.
- In Console, enter ssh username@hostname.bmc.com, and press Enter.
- Right-click and select Connect to host in new window/Connect to host in current window.
- Select the operating system of your host system.
- Enter the password for your host system.
- Select File > Open File or Open Folder.
- Select the file or folder on the host system, and then click Save.
- Verify that your host name is updated.
Repeat the procedure for all host systems from where the code can be debugged.
To enable remote hosting on Eclipse
- Download the latest version of Eclipse on your system. To download Eclipse, see the
Eclipse
site.
- Open Eclipse and select Help > Install new software.
- In the WORK WITH section, select the Eclipse software repository: 2018-12 - http://download.eclipse.org/releases/2018-12.
- In the Type filter, enter the remote system explorer.
- In General Purpose Tools, select Test > Remote System Explorer User Actions.
- Click Install and follow the wizard to complete the installation.
When the installation is complete, a Local section is displayed in the remote explorer. - To view your host in the Remote Systems section with SFTP files and ssh shell, select SSH Only and click Next.
Remote SSH connection details
- Add the host name and other host details.
- Right-click ssh shells and select Properties > Subsystem.
- Add the Port ID and User ID and then click Apply.
- To connect to your host system, right-click your host name and select Connect.
- To view the files and folders available on your remote host, select SFTP files.
You can select and edit any of the listed files. - Verify that the files have been updated on the remote host.
Repeat the procedure for any other host system from where the code can be debugged.
Comments
Log in or register to comment.