Configure your personal computer for debugging

Learn how to configure your personal computer, so you can debug local or private devices using virtualUSB.

Before you start

You’ll need to complete the following:

Modify config.ini

In the terminal, open the virtualUSB directory:

  • macOS

  • Windows

cd ~/Library/"Application Support"/virtualUSB
cd C:\Users\<your-user-name>\AppData\Roaming\virtualUSB

Open config.ini in a text editor and look for the following lines:

  • Kobiton Cloud

  • Kobiton Standalone

Kobiton.ApiBaseUrl: https://<network-address>/
Kobiton.ApiGrpcBaseUrl: https://<network-address>/
Kobiton.ApiBaseUrl: https://<network-address>:<api-port-baseurl>
Kobiton.ApiGrpcBaseUrl: https://<network-address>:<api-port-grpc-baseurl>

Debugging a local device on Kobiton Cloud versus Kobiton Standalone requires different values. Use the following table to assign the correct values:

  • Kobiton Cloud

  • Kobiton Standalone

Placeholder Description Kobiton Cloud

<network-address>

The server’s network address.

Set to kobiton, or your organization’s private domain name.

Example
Kobiton.ApiBaseUrl: https://api.mycompany.com
Kobiton.ApiGrpcBaseUrl: https://proxy-api-public-grpc-server.mycompany.com
Placeholder Description Kobiton Standalone

<network-address>

The server’s network address.

Set to the value listed in your server information.

<api-port-baseurl>

The server’s API port number for Kobiton.ApiBaseUrl.

Set to the value listed in your server information.

<api-port-grpc-baseurl>

The server’s API Port number for Kobiton.ApiGrpcBaseUrl.

Set to the value listed in your server information.

Example
Kobiton.ApiBaseUrl: https://192.168.36.24:3000
Kobiton.ApiGrpcBaseUrl: https://192.168.36.24:3001

When you’re finished, save the file, then restart your virtualUSB application.