How do i test, debug, and troubleshoot?
Forgive my ignorance, but it is unclear to me how exactly am I supposed to test my app especially when it comes to API calls, but also in terms of knowing what is happening with actions and variables and changes to states.
For one, there is no “internal” console and as far as I can tell there is no “log to console” action that could perhaps log to the test mode in the browser. So how do I verify that a variable got the value I expected it to, or what value a variable or app state is at any given time or when something occurs?
Two, I was told that API calls do not work in test mode in the browser. If that is true (first why!?) then how am I supposed to test an app who is built entirely on multiple API calls? Am I supposed to deploy to test flight or download the app bundle with any small change I make to see if it worked or fixed the problem? That is not a workable solution. Not to mention that I have tried that and my data isn’t loading but again I still have no way to try to figure out why it doesn't work. My API call works fine in “Response & Test” when I create it. Now I need to troubleshoot why data isn’t loading or displaying in the app itself and I have no clue at this point how I am supposed to do this.
Am I missing something fundamental here about FF? Please advise.
Thanks in advance.