Download platform tools from here — https://developer.android.com/studio/releases/platform-tools.html.
Run ADB with command
# when you finished, stop it with
# ./adb kill-server
Configure your phone according to this article — https://developer.android.com/studio/debug/dev-options.html (for my specific it is https://www.syncios.com/android/how-to-debug-xiaomi-mi-max-mix.html).
Connect your phone to the computer with USB cable.
Follow instructions from here — https://developers.google.com/web/tools/chrome-devtools/remote-debugging.
When finished, stop ADB and turn off all the developer features on your phone.