HI ,
Am trying to debug LWC component which needs to be exposed in Salesforce mobile app . But looks like the console.logs are not coming properly
1) Have put the Salesforce mobile app build (https://sfdc.co/salesforce-mobile-app-android-emulator) in the emulator (Emulator Pixel 2 api 29) and opened the sandbox and then the LWC component. But logcat (in the android studio) doesn't provide any output of console.log from the lwc. Do we need to make any setting ?
2) Have setup the VS code in accordance to the https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.mobile_extensions_vscode_previews . The same component (lwc) which loads perfectly in Salesforce mobile app and the emulator, gets distorted and again no console log appears . Any extra steps we need to follow other than whats mentioned in the https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.mobile_extensions_vscode_previews ?
Any help/suggestions will really be appreciable and thanks in advance .
- Binayak
HI Sue ,
Thanks for reaching out . Yep we had the workaround of using the android emulator and doing chrome remote debugging .
But with VS code (point 2) we still had the issue .