question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sourcemaps not set up correctly?

See original GitHub issue

I’m trying to debug #10 , but I don’t see any indication of the proxy-memoize source showing up in the Chrome DevTools. I can’t find any filenames with proxy-memoize in the path, and if I try to put a breakpoint right before the memoize() call and step into it, the DevTools debugger steps into random lines of the RTK source before ending up back in the app code.

This is using https://github.com/reduxjs/redux-fundamentals-example-app/commit/f270ea1c91362c74e1ca88a4982d8545b4984b11 , which is built with react-scripts@3.4.3.

Just wondering if somehow the sourcemaps aren’t built/defined correctly.

On the other hand, loading https://codesandbox.io/s/proxy-memoize-demo-c1021 into Chrome, I see the proxy-memoize files under node_modules just fine. So, this could also be a build environment issue somehow.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dai-shicommented, Mar 18, 2022

If this issue isn’t super critical, I will consider to make this library v1.0.0.

0reactions
dai-shicommented, Apr 13, 2022

Closing as nothing actionable. Can reopen if someone has a suggestion.

Read more comments on GitHub >

github_iconTop Results From Across the Web

4 Reasons Why Your Source Maps are Broken
4 Reasons Why Your Source Maps are Broken · Missing or incorrect source map directive · Missing original source files · Bad source...
Read more >
Sourcemaps not mapping correctly except "entry" specified ...
My basic problem is that I'm expecting each generated js file in my project to have a sourcemap back to the original .ts...
Read more >
Unable to set correctly sourcemaps files - Browser
We have been uploaded a sourcemap file using a javascript @newrelic/publish-sourcemap lib and It's looking ok.
Read more >
source maps not properly generated? · Issue #8584
Hi, I'm using emscripten-1.38-31 and clang-e1.38.31-64bit. I'm compiling with -g4 -s WASM=0 to get source maps, expecting to set breakpoints ...
Read more >
Source Map Troubleshooting
If your project was created prior to May 16, 2017, then source maps are not enabled by default. To enable source maps for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found