Skip to content

Commit 208f078

Browse files
authored
docs(js): Add sourcemaps explain to source maps troubleshooting guide (#5076)
1 parent 13056c7 commit 208f078

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/platforms/javascript/common/sourcemaps/troubleshooting_js.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,16 @@ description: "Troubleshooting for source maps."
66
sidebar_order: 8
77
---
88

9-
Source maps can sometimes be tricky to get going. If you’re having trouble:
9+
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.
10+
11+
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)".
12+
13+
```shell
14+
sentry-cli sourcemaps explain fdfd1337e3964cd6a4d11f35357a4c43
15+
```
16+
17+
This should provide you with some useful hints about what exactly went wrong with the source maps setup process.
18+
If it doesn’t, let us know so we can make it better.
1019

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

0 commit comments

Comments
 (0)