Development Website testing on Mobile Devices
Story time
Different devices kept catching me off guard with lots of bugs whenever I was web developing due to the lack of actual device testing. This was because it’s actually quite hard to get access to the development local hosted site that you are developing.
I decided I had to start testing everything I do on actual devices before it actually hits staging environments.
Solution
- Local WiFi hotspot off my machine where I locally host the sites I am currently developing and where I am doing all the debugging.
- reverse proxy the sites to a uncommon port on my localhost
- proxy rules to get the new localhost site accessible using friendly url