---
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.

## Visual Studio
* In the Visual Studio (When Unity Project is loaded)
* Go to “Debug > Attach Unity Debugger”
* Select your android device


# 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