How to develop Angular app on iPhone for debugging

ng serve --host 0.0.0.0

Then find your local IP. On a Mac you can either use the System Settings > Network or using the command line:

ifconfig | grep inet

Alternatively you can use:

ng serve --host 192.168.0.01 // note this is the IP found from the command above