Cannot set breakpoint in chrome dev tools on executable lines

57 views Asked by At

I cannot set a breakpoint on executable lines in chrome dev tools as shown in the photo below.

I should be able to set breakpoints on lines 75 and 78 but I cannot.

I tried stopping the server, rerunning yarn install, and even deleting node_modules and restarting again.

I also tried adding code and saving but it did not fix the issue.

The browser refreshes for changes and loads the new code but still does not allow for breakpoints.

When I run the code it skips those lines, despite them being in the sourcemap.

So it's not registering the changes.

I tried clearing the browser history, cache, and resetting chrome dev tools with no success.

I also deleted the source project and recloned it only to get the same result.

The strange thing is that although the latest code is refreshing in the browser and showing up in the sourcemap within the Chrome dev tools, the code is not executing, leading me to believe it's not detecting the changes.

cannot set breakpoint on executable lines in chrome dev tools

0

There are 0 answers