Hello
If the remote debug console works when your computer is connected to your iPhone hotspot, it means the problem can be solved.
FYI, the IP of your computer is stamped into your app *at build time* so that the remote debug console can pick it up at the earliest possible moment during your app startup. It then connects to that IP over a couple TCP ports (one for standard output and one for standard error) and proceeds routing all messages sent to the stdout/stderr file descriptors to these channels instead. It means that, *if the IP that is stamped in your app at build time is wrong, the remote debug console will send its logs to the wrong location*, and your computer won't receive anything. This is most probably what's happening here.
Most of the time the problem is that the builder UI fails to pick up the right LAN IP address of your computer (that's the IP address in the text field next to the "Enable remote debug console" checkbox). When you build your app, especially when your computer obtains a dynamic (i.e. ever-changing) IP address through a home Wifi router that has a DHCP server, before hitting the build button, you need to check that the IP address that's written there actually corresponds to the *local* IP address of your computer. In your case, it should have been 192.168.1.38 ; if that IP is not the IP of your computer at the moment you hit the build button, you need to correct it.
I don't think you require that level of explanation, but in case you wonder how to figure out your computer's current local IP address, you can use the "ipconfig" command in a command-line window. It will display the current IP addresses of all your network interfaces (a.k.a "network cards"), whether they be Wi-Fi, Ethernet, or even virtual interfaces (those are typically created by virtual machines). Make sure you pick the IP address of the interface that corresponds to your *primary* interface, i.e. the one through which packets pass when they go back and forth between your iPhone and your computer.
If your computer obtains its IP addresses through DHCP and you frequently use the remote console, I suggest that you set it with a fixed address instead, one that never changes. This way, apps compiled with the IP that was valid two days ago will still be able to send their logs to your computer, because its IP address will be the same. When setting a fixed address for your computer, make sure to select an IP address that is at the same time :
- unused
- on the same network segment as those the DHCP server offers, and
- outside of the range that the DHCP server offers, so as to avoid collisions.
For example, if you're on a class C network 192.168.1.XXX and your DHCP server offers addresses that range from 192.168.1.10 to 192.168.1.100, you can pick 192.168.1.101 for your computer, but not 192.168.1.99. Assuming, of course, that no other device already uses that address. To find that out, turn them all on and try to ping that address. If nobody responds, you may use it.
Let me know if I'm mistaken and the problem is elsewhere, and we'll look for other causes (firewall, etc).
Another common cause, second in frequency, is a stupid setting that Windows enforces when it connects itself for the first time to a network. When it happens, Windows typically asks you what type of network is that (home/office/public), so as to know which firewall rules to enforce (open/restricted/closed) on that network, but sometimes it doesn't ask you at all, or the dialog window is hidden behind a fullscreen window - and then it defaults to the most secure network, i.e. "Public" and you aren't even notified about it. When that's the case, each time your computer connects to that network, the most restrictive firewall settings are automatically and silently enforced, which means no incoming connection is allowed - and this prevents the remote debug console app from receiving messages from your iPhone - until you go into the Windows Network settings and change that very network type to "Home" or "Office". Make sure to check that too.
Let me know if the problem persists. Best regards,