By default, the Remote Debugger Configuration dialog configures the Windows Firewall rule to apply to all network profiles ...

By default, the Remote Debugger Configuration dialog configures the Windows Firewall
        rule to apply to all network profiles (Domain, Private and Informal/Public). The
        Informal/Public configuration enables the scenario when the Visual Studio computer
        is directly connected to a target device via an Ethernet cable. The Visual Studio
        remote debugger uses authentication and encryption to maintain security in this
        scenario.