It's bit tricky, follow steps at Samsung Developer blog and it works https://developer.samsung.com/sdp/blog/en/2024/04/30/connect-galaxy-watch-to-android-studio-over-wi-fi