O'Reilly logo

AngularJS Deployment Essentials by Zachariah Moreno

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Troubleshooting deployment issues

Cordova contains another valuable tool to help troubleshoot issues that can arise when setting up a new application or maintaining an existing application. It facilitates a quick way for you to check whether the code within your /www folder is not causing any JavaScript errors. To quickly check whether your Cordova-built application's code is sound, run the following command:

$ cordova serve android

The Cordova server will start a local testing server on port 8000 with the root being /www. You can then debug your Cordova-built application's source code like you would any other web application with the browser developer tools. The output in your terminal while the server is running is a list of HTTP traffic, which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required