[demo split #4449] 1/5 — Foundation: expose core hooks for the live debugger package#4532
Draft
[demo split #4449] 1/5 — Foundation: expose core hooks for the live debugger package#4532
Conversation
Original author: Thomas Watson <thomas.watson@datadoghq.com> (split of #4449) Co-authored-by: Thomas Watson <thomas.watson@datadoghq.com>
|
I have read the CLA Document and I hereby sign the CLA Rick Klein seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
This was referenced Apr 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR contains (1/5 — Foundation)
Pre-requisite changes to
@datadog/browser-coreand project-level config thatthe rest of the stack depends on. Intentionally small — this is the
foundation that everything builds on.
Changes
packages/coredomain/configuration/configuration.ts,endpointBuilder.ts,transportConfiguration.ts— add'dd_debugger'as a valid transportsource, mapped to
'browser'.src/index.ts,transport/index.ts— exportBatchtype andcomputeTransportConfigurationso the debugger package can build itsown transport.
eslint-local-rules/disallowSideEffects.js— allow the debugger entrypoint to register
globalThishooks.tsconfig.base.json— register the new package path.typedoc.json— exclude the package from generated docs (per-spec, sincethis is internal-only until validated in production).
.github/CODEOWNERS,LICENSE-3rdparty.csv,test/unit/browsers.conf.ts,yarn.lock— wiring updates.12 files, +56 / -10.
Why this stack
PR #4449 lands 64 files in a single ~8.2k-line PR, which is hard to review
end-to-end. Splitting into reviewable increments (this stack) keeps each PR
focused on a single concern and makes regressions easier to bisect.