Remote Access Settings
In this section:
Accessing Remote Access Settings
Configure the Remote Connection
Allow remote debugging connections on this computer
This toggle switch determines whether remote debugging attach connections are allowed on this computer. By default, new remote connections are not allowed.
To change this setting:
Do one of the following:
- Set the toggle switch to ON to allow new remote debugging attach connections.
- Set the toggle switch to OFF (default) to prevent new remote debugging attach connections.
Note: The IP address setting (see below) cannot be changed when Allow remote debugging connections on this computer is set to OFF.
wRTOS Settings displays one of the following messages depending on the toggle state of this setting:
| Status | Meaning |
|---|---|
| Remote debugging is not active | The Allow remote debugging connections on this computer toggle is set to OFF. This is the default behavior. |
| Listening on <IP:Port number> |
The Subsystem is listening for new remote debugging attached connections to this computer. Note: The Port number cannot be changed when listening for new remote debugging attached connections. |
| Not listening. Please specify another IP address for new remote debug attach connections. | The Subsystem is not listening for new remote debugging attached connections to this computer because the previously specified IP address is no longer available. Please specify a new IP address (see below). |
Note: Setting Allow remote debugging connections on this computer to OFF does not terminate active remote debugger attach sessions. It only prohibits future remote debug attach connections.
IP address
When the Allow remote debugging connections on this computer toggle is set to ON, you can set the IP address for new remote debugging attach connections. You can accept the default (Use first available IP address) or specify a new address. The drop-down menu displays the active IP addresses already in use.
To change this setting:
Do one of the following:
- Use first available IP address (default).
- Enter a new IP address in IP address combo box.
Port number
When the Allow remote debugging connections on this computer toggle is set to OFF, you can set the port number for new remote debugging attach connections. You can accept the default of 31094 or specify a new port number.
Note: This value cannot be changed when the Subsystem is listening for new remote debugging attached connections.
To change this setting:
Enter a positive integer value in the Port number text box. The range is 1 to 65535. wRTOS Settings automatically validates this number against the specified IP address.
Microsoft Remote Tools on the System
wRTOS Settings automatically detects whether the supported Visual Studio remote tools are configured for remote launch and attach and displays their status.
| Visual Studio version | wRTOS remote debug support |
|---|---|
| Lists the supported Visual Studio remote tools versions. wRTOS supports remote launch and attach using remote tools for Visual Studio 2022 and 2019. |
Displays whether wRTOS remote launch and attach debug support is configured for each version of Visual Studio remote tools.
To remove support for a Visual Studio remote tools version, click Remove support.
To configure a Visual Studio remote tools version through the wRTOSRemoteConfig command line utility, click Add support.
View the Microsoft documentation to determine the version of Visual Studio remote tools that you need: https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging |