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.

How to make sure source maps were actually uploaded?

See original GitHub issue

Hello! I’ve added sentry-webpack-plugin to the production build config and the build goes fine without errors. However, on the sentry.io dashboard, I still see there is no checkmark against the “Upload sourcemaps” item. The error traces are minified as well. How can I check the plugin works correctly? Maybe I missed something – do I have to configure webpack to create sourcemaps (i.e. with the devtool option)? There is nothing like that in the description or in the examples, so I assume this plugin should take care of everything. Is that so?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
joepuzzocommented, Oct 19, 2018

Turns out it was because i was running webpack dev server. When i ran production build it worked. But i needed to add sourcemaps option to webpack config and point to the build directory instead of src

2reactions
kamilogorekcommented, Apr 17, 2018

And as for verifying whether your files have been uploaded, go to “Artifacts” page in your Sentry’s project page.

eg. https://sentry.io/kamil-ogorek/testing-project/releases/some-release-name/artifacts/

(with your own account, project and release of course 😃)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Source Maps for JavaScript
For uploaded source maps to be located and applied, the release needs to be created by the CLI or API (and the correct...
Read more >
New Features: Source Map Upload and More - Honeybadger.io
Honeybadger now supports uploaded source maps via a new API. We've also added a UI to view source maps for each project, released...
Read more >
How to set up source maps to help debug production JavaScript
The next step to getting source maps working is to ensure the sourceMappingURL directive is declared correctly. This is a single line at...
Read more >
Map the processed code to your original source code, for ...
To make sure that source maps are enabled: To open DevTools, in Microsoft Edge, right-click a webpage, and then select Inspect.
Read more >
Use a source map — Firefox Source Docs documentation
sources are often combined and minified to make delivering them from the server more ... sourceMappingURL=http://example.com/path/to/your/sourcemap.map ...
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