Disable countdown on dev build for android

Hey,
when I was creating an android build, I noticed that after launching the app on my phone, it takes some time before the Unity logo appears.

When I ran ‘adb’ to check the logs, I noticed that the long time to start the game was caused by a countdown during which I have a chance to attach a debugger.

Waiting for connection from host on [0.0.0.0:55182] ... 
Remaining time: 8s 
Remaining time: 7s 
Remaining time: 6s 
Remaining time: 5s 
Remaining time: 4s 
Remaining time: 3s 
Remaining time: 2s 
Remaining time: 1s 
Remaining time: 0s 
Timed out. Continuing without host connection.```

I already know that this is due to the 'Script debugging' option which can be set in 'Build Settings'. 

![](https://i.imgur.com/CaSqQps.png) 

I would like to ask if it is possible to disable this countdown before starting the application, but also allow to connect the debugger via USB?

Disabling 'Script debugging' disables this countdown, but prevents debugging on Android.

I'm using **Unity ver. 2020.1.4f1**

The countdown is there to allow attaching debugger before all scripts start executing. There are no plans to change this behavior right now.

Thanks for the answer.
So what’s the difference between a countdown and ‘Wait For Managed Debugger’ option?

Sorry I was wrong. Indeed I mixed up “Wait For Managed Debugger” here. The countdown that you see is caused by the player trying to connect to the Unity profiler. It should not be affected by a “Script Debugging” option.

That’s weird, I just checked it and after disabling the ‘Script debugging’ option the countdown disappeared from the logs in ‘adb’ (game starts faster) and also I can’t connect Visual Studio to player on Android.

I have been informed that this was a bug that was fixed in later Unity versions. You should update to a newer Unity version.

Thanks for your time.