How to debug a webview from the expo phone app?

#1

I have a broken workflow with expo. I can debug the webview of an expo app for example if I am running the android emulator (through chrome dev tools) but when I try the app on the phone itself with the expo app I can’t debug the webview. Right now I have a bug with an image being sent to the webview and I can’t figure out how to step in with the debugger.

ps: If i connect the phone via usb to android studio and run the app in the device itself bypassing the expo app I get a ton of feedback from the logcat. So much its too hard to spot the problem. Also there is no stepping or adding breaks.

0 Likes

#2

Hi @bidah, perhaps some of these debugging articles might have more useful methods: https://docs.expo.io/versions/latest/workflow/debugging https://medium.com/reactnativeacademy/debugging-react-native-applications-6bff3f28c375

1 Like

closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.

0 Likes