Send JavaScript console.logs from one device to another with VScode Live Server Extension

I’ve got a question. I have a Windows 10 laptop, that is the host of a Visual Studio Code Live server; and a Windows 11 laptop that is a client. Because ‘localhost’ and ‘127.0.0.1’ only work on the host device, I had to use the IP of Win 10 host laptop.

My main question is how to send every console.log() on that guest Windows 11 laptop to the one that hosts the server? Is it possible?

Please note that the console.logs aren’t directly at <script> file, but upon guests’ interaction (In my situation when they submit a form, meaning they have specific information provided). That means it’s not sent in the same time on both computers, like when the content loaded, but rather on their own time.

Does anybody know an answer?