Version: 2022.3
Language : English
Debug UWP applications with IL2CPP
Debug generated C++ code

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:

  1. In File > Build Settings, enable Script Debugging.
  2. 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
Debug generated C++ code