Hey guys - I was starting a project and viewing in local host like normal. Suddenly I discovered port forwarding magic as a tangent in a video. I love these random finds. Of course I have to share.
To put simply, head over to your ports tab in VSCode, it is most likely right by the terminal.
- Click the globe icon
- Verify things when prompted.
- You will most likely have to verify things on your phone as well. You now have a dev tunnel! You can enter that exact address in your phone browser and view the page live! You can share your port with anyone that is on your network. MOM!!!! XD
Now, we can view on many devices in real time. Fabulous.
I hope someone is as excited as me when I found out how to do this. XD
Top comments (2)
Love dev tunnels great for server development 🙌
It's so exciting! I think you can do like 20 devices at once. Not saying it should be done. 😆 would be fun to see though.