I find it difficult to find debugging excerpts that works on a unit with an android device. I tried both visual studio code and monodevelop.
In android:
I have successfully completed all the steps described here to connect android to Wi-Fi in tcpip mode: https://docs.unity3d.com/Manual/AttachingMonoDevelopDebuggerToAnAndroidDevice.html

In unity
In the build settings, I checked "development build" and "script debugging". When I build and run, it programs my device just fine over Wi-Fi.

For monodevelop
"attach to process", Unity Editor.
: https://forum.unity3d.com/threads/attaching-monodevelop-debugger-to-an-android-device.245814/
, . linksys, , multicast → . - , , ?
monodevelop , vscode
VS
, :
https://code.visualstudio.com/Docs/runtimes/unity
vscode, " " Android Player ". ?"

, , "Unity Attach Debugger" , : "command" attach.attachToDebugger " "

!