How to get browser console log point to source files

When creating a React app for the web all console messages point to my actual files and line numbers. When opening my expo project on “web” all console messages point to bundle.js. Is there a way to have the same behavior? If not, what is the recommended way to debug while using console.log statements?

My expo diagnostics output:

  Expo CLI 3.13.2 environment info:
      OS: macOS 10.15.3
      Shell: 5.7.1 - /bin/zsh
      Node: 12.14.1 - ~/.nvm/versions/node/v12.14.1/bin/node
      Yarn: 1.22.0 - /usr/local/bin/yarn
      npm: 6.13.7 - ~/.nvm/versions/node/v12.14.1/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
      Android Studio: 3.5 AI-191.8026.42.35.6010548
      Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
      expo: ~36.0.0 => 36.0.2
      react: ~16.9.0 => 16.9.0
      react-native: => 0.61.4
      expo-cli: 3.13.2

Nobody? So how is anyone debugging?

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