This is a question, not a bug report.
Is it possible to run the app through the Expo client app on device, but to have debugging output through the browser on my dev machine?
By default my terminal shows console output but the formatting is all screwed up for debug modules that write with colors/tables etc
Hi @richkeenan! It is possible, on iOS for example you can shake the device to show the dev menu (when your app is open) and then choose "Debug Remote JS". React Native Debugger also works quite well. Check out the usage section to see how to integrate with Expo.
Thanks @brentvatne that's cool. Given that this solution isn't mentioned in the CRNA docs I think I'll make a PR to include this - I'm sure it's useful for people like me, who only have experience of CRNA and not react-native-debugger
@brentvatne does this also work for Android? Your answer only mentions iOS and I don't have an Android device to test on
Yup. Nice! A PR would be very welcome for that. Sorry I just assumed iOS for some reason, you can do it on Android with the same gesture -- shake the device and choose 'Debug JS Remotely'
@brentvatne Current latest Expo android client version (running on Nexus 5) does not invoke any Developer Menu when shaking
Is the shake gesture supposed to work on a detached app? I have the Expo app on my phone, and scanned the QR code from my expo project. Shaking does not pull up a debugger menu.
I have the same question as @dmongit. we are having considerably different performance on a handset vs a simulator and need to debug the handset but the shake does not bring up a debug menu.
Hi @brentvatne ,
Please give me full step by step suggestion for how to debug an application on chrome.