Almost every of us had difficulties to make development testings related with Smartphones during development progress.
"Scrcpy" is an open source small ADB Server, lets you to see and manage your Smartphone through ADB almost without latency, in a fastest way.
Also if you have a not properly working/broken screen, you can use your device via this tool.
It's one of the lifesaving stuff not for only development purposes but also in devices with screen problems as well.
You can check and download from: