Today,I wanna write a english blog.Sounds crazy.
How to debug a hybrid app.It is a big deal.But I will tell you how to do it.
First,I introduce a hybrid framework for you.
ionic
Ionic is the beautiful, open source front-end SDK for developing hybrid mobile apps with web technologies.
$ sudo npm install -g cordova ionic
Second,
Create an Ionic project using one of our ready-made app templates, or a blank one to start fresh.
$ ionic start firstApp sidemenu
Use the Ionic tool to build, test, and run your apps (or use Cordova directly). Make sure to substitute ios with android to build for Android.
$ cd myApp
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios
Then, try
Ionic View
to share your apps with testers and clients, or to easily test on new devices.
$ ionic upload
Apache Ripple™ is a web based mobile environment simulator designed to enable rapid development of mobile web applications for various web application frameworks, such as Apache Cordova™ and BlackBerry® WebWorks™. It can be paired with current web based mobile development workflows to decrease time spent developing and testing on real devices and/or simulators.
It is free software, licensed under the Apache License, Version 2.0.
Installing Ripple from npm
sudo npm install -g ripple-emulator
then