How to debug a webview from the expo phone app?

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.

1 Like

Hi @bidah, perhaps some of these debugging articles might have more useful methods: https://docs.expo.io/versions/latest/workflow/debugging Debugging React Native Applications | by Dotan Nahum | React Native Academy | Medium

1 Like

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