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

  1. Download the latest version of Intellij Ultimate on your system. To download IntelliJ, see the  Jetbrains  site. 

  2. Start IntelliJ and navigate to Files Setting.
  3. Select Build, Execution, Deployment, and select Deployment.
  4. To add a new configuration, click + and enter the following values on the Connection page:

    FieldValue
    TypeSelect SFTP.
    HostHost name of the remote server.
    User nameUser ID of the user to be used to access the remote host.
    AuthenticationPassword of the user to access the remote system.
  5. Click Test Connection.
  6. On the Mapping tab, add the deployment path with /.
  7. Click Apply, and then Save.
    You can now edit the files on the remote host. 
  8. To update your changes on the remote system, click UPLOAD CURRENT REMOTE FILE.
  9. 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

  1. Download the latest version of VS Code on your system. To download VS Code, see the  Visual Studio  site.
  2. Start VS Code and press Ctrl+Shift+X to start the extension marketplace.
  3. Search for the Remote Development plug-in and install it. 
    In the remote explorer, the SSH target, WSL Target, and container options are available.
  4. Select SSH Target, and click +.
  5. In Console, enter ssh username@hostname.bmc.com, and press Enter.
  6. Right-click and select Connect to host in new window/Connect to host in current window.
  7. Select the operating system of your host system.
  8. Enter the password for your host system.
  9. Select File > Open File or Open Folder.
  10. Select the file or folder on the host system, and then click Save.
  11. 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

  1. Download the latest version of Eclipse on your system. To download Eclipse, see the  Eclipse  site.
  2. Open Eclipse and select Help > Install new software.
  3. In the WORK WITH section, select the Eclipse software repository: 2018-12 - http://download.eclipse.org/releases/2018-12.
  4. In the Type filter, enter the remote system explorer.
  5. In General Purpose Tools, select Test > Remote System Explorer User Actions.
  6. Click Install and follow the wizard to complete the installation.
    When the installation is complete, a Local section is displayed in the remote explorer. 
  7. 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
     
  8.  Add the host name and other host details.
  9. Right-click ssh shells and select Properties > Subsystem.
  10. Add the Port ID and User ID and then click Apply.
  11. To connect to your host system, right-click your host name and select Connect.
  12. To view the files and folders available on your remote host, select SFTP files
    You can select and edit any of the listed files. 
  13. 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. 

Was this page helpful? Yes No Submitting... Thank you

Comments