-
Hi, did anyone figured out how to set the vscode launch.json debug configuration for debugging? (we are on latest RN and using hermes) im having hard time figuring out the webpack paths to be mapped in launch config. |
Beta Was this translation helpful? Give feedback.
Answered by
mlakmal
Apr 26, 2024
Replies: 1 comment
-
fyi: was able to resolve this issue. by default babel will transpile code to single line and remove whitespaces. this causes issues with sourcemap locations. we can add below settings to babel-loader options to disable auto newline/whitespace removal.
and make sure to enable "sourceMapPathOverrides" in vscode launch.json
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mlakmal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fyi: was able to resolve this issue. by default babel will transpile code to single line and remove whitespaces. this causes issues with sourcemap locations. we can add below settings to babel-loader options to disable auto newline/whitespace removal.