Wireless debugging was introduced at Android 11, so if your five year old mobile has a lower OS version, it does not support it at all.
Since
V11 was released in September 2020[
^], there is a very good chance that you are on 10 or lower, depending on the manufacturer of the mobile and their update policy.