Skip to content

Commit 7defb2b

Browse files
committed
Document prerequisite
1 parent 5259f76 commit 7defb2b

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
@@ -25,6 +25,8 @@ When you also use the Datadog Live Debugger build plugin, `init().version` defau
2525

2626
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.
2727

28+
> **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.
29+
2830
If [Datadog RUM][3] is also initialized on the page, debugger snapshots automatically include RUM context (session, view, user action) without any additional configuration.
2931

3032
## Troubleshooting

0 commit comments

Comments
 (0)