+ Start a Discussion
niki4810niki4810 

Hybrid app debugging

Hi,

 

Is there a way to debug javascript code of a hybrid app using salesforce mobile sdk and running on android device/simulator. 

 

I ve come across the weinre which works perfectly for inspecting elements and logging to the console. But we cannot put breakpoint and step through the code.

 

jshybugger seems to have breakpoint capability but I could not get the  setting up working. Just wanted to check if anyone has a solution for this ?

 

Thanks,

 

Nikhil

 

 

jfurr_improveit360jfurr_improveit360
I wrap all code in my methods in a try-catch then call "console.log" in the catch statement. This helps in both iOS and Android. It also helps keep your app functional if an unexpected error is encountered.