Closed nschurmann closed 7 years ago
Can you please clarify what you mean by "Unable to open debugger on iOS emulator"? The debug console output you include above seems to indicate to me that we are connecting to your app and it is running code from it. Does something happen after that?
@MSLaguana when I write a console.log in my app, it won't show on the debugger that you mention, on an early version there was a debugger (i think something with adb reverse) that makes appear the console.log()
in the debugger.
The line Running application "myproyect" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
is printed by react-native using console.log, so I would expect your application to work.
Are you able to share some sample code that reproduces the issue?
sure, in a component, thunk, or whatever it wont print a console.log. IE:
<TouchableHighlight
underlayColor='#999'
style={{backgroundColor: '#aaa'}}
onPress={() => console.log('yay!')}
>
<Text >hello world</Text>
</TouchableHighlight>
won't print yay!
Does this happen for you even in a trivial application, e.g. adding that snippet to a freshly created react-native init
project?
@MSLaguana this only happens when i try to run the debugger in vscode, if i run it on chrome it works.
Hmm, I'm getting a different issue when I try to test this out myself. We'll have to investigate some more. Thanks for bringing this to our attention!
@nschurmann, is this still an issue for you? I just verified this with latest extension and react-native 0.39 and 0.42 versions and console logging seems to work just fine. I'm going to close this, but feel free to reopen if this is still a problem.
Actual Behavior
Expected Behavior
Software versions
Outputs (Include if relevant)