Enabling debugging with broken screen and usb keyboard (Google assistant working)

Is there a way to enable USB debugging with broken display – black screen and touches are not registering.
Ultimately I want to control my phone (answer phone calls, see messages, restore images, access bank mobile 2fa) through https://github.com/Genymobile/scrcpy, but it requires USB debugging mode.

Most tutorials make use of USB keyboard/mouse but for some reason they are not functioning (Oneplus 5t), and I have tested adapter+keyboard on different phone and it works.
What I have at my disposal

  • Unlockable phone – fingerprint sensor
  • Google assistant – it responds to “hey google”
  • Phone is connected to Wi-Fi and I can install apps through google play store on my PC