jet
jet copied to clipboard
Can't turn off debug mode
When tunning packager-jet one isn't able to turn off debug mode off in the emulator.
The problem seems to come from here: https://github.com/invertase/jet/blob/master/lib/react-native/index.js#L16
if this is false, then one can turn on the debug mode on, but at some point it also turns off on its own?
Hey
jetNode
is false when the debugger is not connected to the nodejs instance, it forces itself to debug by calling the native method called debug on android/ios.
Can add in some sort of toggle for this to disable the behavior I guess, though this would mean tests won't run whilst this toggle is on as they can only run during debug.
Thoughts?
The problem is that I don't use this to only write tests. I'm launching the packager with chrome's debugger as we need to deal with the redux store. And I need to have several emulators open in order to see how the app behaves for different users.
When debug mode is on on all emulators - I can only use the app with one emulator...