Debug UWP applications with IL2CPP
 
  
Debug C# code
Before you can debug C# code with IL2CPPA Unity-developed scripting back-end which you can use as an alternative to Mono when building projects for some platforms. More info
See in Glossary for your Universal Windows Platform (UWP) application, you need to do the following:
- Go to File > Build Profiles. In the Platform Settings section, enable Script Debugging.
 
- In Player settings, enable the InternetClient, InternetClientServer, and PrivateNetworkClientServer capabilities.
 
Note: You can also enable these capabilities in the manifest. You will need to change these capabilities from the Visual Studio manifest editor because the manifest isn’t overwritten when you build on top of an earlier build. 
The debugging procedure for UWP applications is the same as for other platforms. For more information on how to debug C# code, refer to Debug C# code in Unity.
Additional resources
Debug UWP applications with IL2CPP
 
 
 
    Copyright © 2023 Unity Technologies 
 优美缔软件(上海)有限公司 版权所有 
  "Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。