Hi there! How are you? I hope you are well!
In this short post, we are going to introduce another debugging technique more appropriate for Frontend developers like me. Inside the developer menu of your app there is a link by the name Start Remote JS Debugging. This enables to debug our app using the Chrome’s developer’s tools, as if it was a web app! Not exactly like this of course, but we can get access to the JS console and print there our console messages. Pretty neat if you ask me! The JS server for debugging runs on this URL:
The Chrome tab should look something like this one:
You can see the enabled debugger in this screenshot from my cellphone, it is the second line:
While in the beginning everything might seem discouraging little by little and while sticking to it, everything falls into place and more tools and more techniques help you build better and better apps altogether! I hope this technique might help you as it helps me nowadays.