Angular-cli: Debug angular cli app on external device

Created on 13 Feb 2017  路  4Comments  路  Source: angular/angular-cli

How can I debug angular cli app on external device?
ng serve is running server on localhost, which is not visible in my private network, so I am not able to reach it by 192.168....:4200

Most helpful comment

@gkucmierz you can use ng serve --host 0.0.0.0 to make it listen on all IP addresses.

All 4 comments

@gkucmierz you can use ng serve --host 0.0.0.0 to make it listen on all IP addresses.

I found out I can use also USB debug or bluetooth debug.
But your solution is much better in my case.
Thanks man!

Closing as answered by @beeman, thanks!

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings