Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(js): Add sourcemaps explain to source maps troubleshooting guide #5076

Merged
merged 4 commits into from
May 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ description: "Troubleshooting for source maps."
sidebar_order: 8
---

Source maps can sometimes be tricky to get going. If you’re having trouble:
Source maps can sometimes be tricky to get going. If you’re having trouble, you can try using our verification tool inside `sentry-cli`, or go through the steps listed below yourself. Please keep in mind, that the `sentry-cli` is a work-in-progress, and we’re actively working to improve it.

To use the automated verification process, [install and configure](/product/cli/) `sentry-cli`. Once completed, use the `sourcemaps explain` command, by calling it with the event ID that can be found at the top of the **Issue Details** page in [sentry.io](https://sentry.io). For example, "Event fdfd1337e3964cd6a4d11f35357a4c43 | JSON (42.0 KiB)".

```shell
sentry-cli sourcemaps explain fdfd1337e3964cd6a4d11f35357a4c43
```

This should provide you with some useful hints about what exactly went wrong with the source maps setup process.
If it doesn’t, let us know so we can make it better.

<PlatformSection notSupported={["javascript.electron"]}>

Expand Down