--- robots: noindex, nofollow --- [toc] # AR Debugging ## Build settings In the build settings: * Enable “Development Build” * Enable “Script Debugging” * If “Wait for Managed Debugger” is selected, an “OK”-Dialog will be shown on the android phone that needs to be pressed before the app runs. This gives you time to connect the debugger. ![](https://hackmd.io/_uploads/rJdJG87zs.png) ## Visual Studio * In the Visual Studio (When Unity Project is loaded) * Go to “Debug > Attach Unity Debugger” * Select your android device ![](https://hackmd.io/_uploads/BkV7zUXGo.png) ![](https://hackmd.io/_uploads/SkdXGIXfi.png) # LogCat Android Logcat Package is a utility for displaying log messages coming from Android device in Unity Editor. For installation see https://docs.unity3d.com/Packages/com.unity.mobile.android-logcat@0.1/manual/index.html