jhen0409 / jhen0409/react-native-debugger

Source map generated is wrong

Open
#430 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.4k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/30335469/68381054-fc5ddd00-0176-11ea-8e2c-fa9977c0c436.png)

![Logs in chrome debugger](https://user-images.githubusercontent.com/30335469/68381243-4c3ca400-0177-11ea-925c-426320150c50.png)

## 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.