I got the debugger working by changing the Editor Settings → Network → Debug → Remote Host value to my PC’s local IP address instead of 127.0.0.1.
I found this trick in a thread about Android debugging: Remote Debugger on android device issue - #2 by pennyloafers