VsCode now is showing main.chunk.js instead on original jsx file in debugging mode

Viewed 149

Before I always debug an reactjs application in vscode directly in the jsx component file. Now I can't do it because when I try to debug vscode tries to debug a file called main.chunk.js. I'm using chrome too.

Vs Code Debugging a main.chunk.js

I would like to return debugging directly in component jsx file. Do you have a suggestions of how to do it ?

1 Answers

Same problem here! =(

The funny thing is that the first time it works correctly by vscode, but during the debug it stops working and goes into main.chunk.js.

-------- Edit

A modification I made here and that apparently worked...

In the browser:

Inspect > Preference Settings > Workspace > Add Folder (Project Root)

Related