DEV Community

Cover image for Debugging an Angular mobile app
AlekseiKorolev
AlekseiKorolev

Posted on

Debugging an Angular mobile app

When working on a mobile app in Angular, we need to test and debug mobile events (such as pinching) that are not triggered from the desktop chrome or Android simulator.

  • Run the application on the local network
ng serve --host 0.0.0.0 
Enter fullscreen mode Exit fullscreen mode
  • Reach app from mobile phone use ip address and port number image
  • Activate developer options on phone - tap 7 times on Build Number (Settings > About Phone > Build Number)
  • Enable USB Debugging (Settings > System > Developer Options > USB debugging)
  • Connect phone to computer via usb and allow usb debugging
  • Add to address line chrome://inspect#devices
  • Inspect app image

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay