enable remote JS debugging doesn't show the error location in the code

I use the expo init to have a new project going. Expo started properly and I can use expo-cli to open both on android or iphone devices. Then I shake the device to get remote JS debugging. The puzzling thing on the debug console, it didn’t show the error in the actual code. To demonstrate, I put a console.log(‘abc’) in the app.js(this is fresh from the expo init project nothing more) . On the debug onsole it shows:
abc node_modules%5Cexpo%5CAppEntry.bundleplatform=android&dev=true&minify=false&hot=false

It doesn’t show the location in the original code but shows some location in the build.
However, if I try run expo on web, the console in the chrome seems to be ok(at least it tells me which line does this console happen in which file). Maybe something wrong with the source map? I am pretty new to expo and feel stuck without proper debugging regime.

dignositics

Expo CLI 3.23.0 environment info:
System:
OS: Windows 10 10.0.18362
Binaries:
Node: 10.16.0 - C:\Program Files\nodejs\node.EXE
npm: 6.14.6 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 4.0.0.0 AI-193.6911.18.40.6626763
npmPackages:
expo: ~38.0.8 => 38.0.8
react: ~16.11.0 => 16.11.0
react-dom: ~16.11.0 => 16.11.0
react-native: https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz => 0.62.2
react-native-web: ~0.11.7 => 0.11.7

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.