Skip to content

Commit 93ca4e3

Browse files
committed
Document prerequisite
1 parent ff3ae86 commit 93ca4e3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/debugger/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ When you also use the Datadog Live Debugger build plugin, `init().version` defau
2424

2525
If provided, `version` should be set to the immutable deployed browser build identifier used for source map upload and browser build resolution. If omitted, debugger delivery and snapshots still work, but browser build lookup and source-aware resolution may be unavailable.
2626

27+
> **Prerequisites for source-code resolution.** The `applicationId` passed to `init()` must correspond to a [RUM application](https://docs.datadoghq.com/real_user_monitoring/browser) with a `service` tag configured. The backend uses this to map `applicationId + version` to the repository URL and commit SHA uploaded with your sourcemaps. If the RUM application is missing or has no `service` tag, source-code resolution will gracefully degrade.
28+
2729
If [Datadog RUM][3] is also initialized on the page, debugger snapshots automatically include RUM context (session, view, user action) without any additional configuration.
2830

2931
## Troubleshooting

0 commit comments

Comments
 (0)