vscode-js-debug icon indicating copy to clipboard operation
vscode-js-debug copied to clipboard

Breakpoint doesn't hit on react redux application

Open digeff opened this issue 6 years ago • 3 comments

The breakpoint hits on v1 but doesn't hit on js-debug.

Repro steps: Create Asp.Net Core React&Redux project Set breakpoint at "ClientApp\src\App.tsx" Debug Project

v1 works vscode-chrome-debug.txt

needs to reinstall node_modules to use the .zip project ASPNetCoreReactRedux.zip

v3 does not work vscode-debugadapter-7.zip

digeff avatar May 15 '20 22:05 digeff

This works for me

connor4312 avatar May 16 '20 03:05 connor4312

Just to recap the information sent by chat, the breakpoint on line 11 works fine, the issue is when the breakpoint it set on line 10.

digeff avatar Jun 05 '20 18:06 digeff

This looks like a bug in react-scripts, it generates a source mapping position at the end of the export statement. If I upgrade the project to the latest react-scripts @ 3.4.1, it works

connor4312 avatar Jun 29 '20 19:06 connor4312