jeudi 11 juin 2015

Debbugging angularjs app without ripple or browser because it uses cordovasqlite plugin

in my angularjs/ionic app I use the cordova-sqlite plugin and a local database to store data. I also use a web service to fill the database with data from a remote database. Well sometimes I get strange behaviour if I try to get data from the remote database. But my problem is that I can't debug the code in the way it is now. If I try to use the ripple emulator it says that it can't work with the sqlite plugin. I googled around and found out that any plugin which uses native code won't work with ripple. I wanted to see the network transferring operations on ripple.

The way I debug now is to open the system console and check them out but this isn't a really good way to debug. I work on a mac with webstorm.

Is there a way to debug my code on mac live on the device or simulator like in visual studio?

Aucun commentaire:

Enregistrer un commentaire