Enabling Web Inspector

Use Web Inspector to debug and profile your apps. The browser uses a client-server architecture to make Web Inspector functionality available by acting as a webserver. You inspect the content remotely on a browser; use any WebKit-based browser on the same Wi-Fi network to navigate to the IP address and port number used by the browser and to begin inspecting the code.
To enable Web Inspector for your app:
  1. Navigate to your cordova apps directory.
  2. Run the following command:
    build debug
    To launch your compiled app, you'll need to know the port number your app is running on. You can use netstat -a to see all of the currently opened ports. The listening port numbers start at 1337.