Debugging embedded app using Shopify POS App SDK

Mike_Moore
Shopify Partner
4 0 5

I am new to Shopify and am attempting to develop an embedded POS app using the Shopify POS App SDK. It is not obvious to me how to go about debugging the embedded app since the web view is being loaded inside of the Shopify POS app running on the iPad. Is there a way to set breakpoints and step through the javascript code? Is there a way to see console.log messages?

 

Sorry if this is a basic question, but I would really appreciate some advice as to how to accomplish this.

GerwinB
Shopify Partner
58 0 5

Any ideas on this topic?

0 Likes
GerwinB
Shopify Partner
58 0 5

Has no one found a solution to this?

0 Likes
policenauts1
Trailblazer
173 13 33

Not sure if this will work for POS SDK, but it works for App Bridge and iOS (scroll to the bottom): https://shopify.dev/tools/app-bridge/debugging 

0 Likes