react-native-debugger icon indicating copy to clipboard operation
react-native-debugger copied to clipboard

Source map generated is wrong

Open divye11 opened this issue 5 years ago • 2 comments

React Native Debugger app version: 0.10.2 React Native version: 0.58.5 Platform: Android Is real device of platform: Yes Operating System: macOS

Description

The source map is generated correctly but in the developer tools sections, the logs point to different files. I've tried using the chrome debugger after clearing the cache and it works fine, but when i switch to react-native-debugger the logs are shown incorrectly.

React native debugger logs

Logs in chrome debugger

Steps to reproduce

  1. Install react native debugger and run the debugger
  2. Start the app
  3. See the location of the console log statements

divye11 avatar Nov 07 '19 10:11 divye11

Try disabling your cache. If your dev tools isn't open in the RND window, go to View -> Toggle Developer Tools. Then inside dev tools go to Network and check the box Disable cache. You may need to refresh your app after this but hopefully it works.

Screen Shot 2019-11-17 at 8 43 14 PM

mikeyamato avatar Nov 18 '19 04:11 mikeyamato

@mikeyamato It changed but now I'm getting something totally different in logs.

Logs

divye11 avatar Nov 18 '19 11:11 divye11