function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Hybrid app debugging



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 ?







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.