MCPcopy Create free account
hub / github.com/Snapchat/Valdi / applyChromeDefaults

Function applyChromeDefaults

valdi/vscode_debugger/src/configuration.ts:965–969  ·  view source on GitHub ↗
(config: ResolvingChromeConfiguration)

Source from the content-addressed store, hash-verified

963}
964
965export function applyChromeDefaults(config: ResolvingChromeConfiguration): AnyChromeConfiguration {
966 return config.request === 'attach'
967 ? { ...chromeAttachConfigDefaults, ...config }
968 : { ...chromeLaunchConfigDefaults, ...config };
969}
970
971export function applyEdgeDefaults(config: ResolvingEdgeConfiguration): AnyEdgeConfiguration {
972 return config.request === 'attach'

Callers 1

applyDefaultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected