0

I am currently working on Lerna React-Redux project, where multiple packages like one MainApp, and other packages like header, products, cart, shared-components etc. I am using Visual code editor and Chrome debug tool, for debugging when I set a breakpoint and try to debug continuously line by line it's open bundle.js file for distributed packages like product to card package or any others. Is there any source map option in webpack config file.

2 Answers2

1

Finally, the problem is resolved by changing the value of Devtool source-map to eval-source-map on web pack configuration file, more details information I found web pack official documentation https://webpack.js.org/configuration/devtool/#development

0

Press Ctr+M on emulator and choose Debug remote. this will directly open a developer window on chrome browser.

You will find following link useful How do you debug React Native?

Rajneesh Shukla
  • 1,048
  • 13
  • 21