MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / applyDebugMetadata

Function applyDebugMetadata

packages/profiling-node/src/utils.ts:422–430  ·  view source on GitHub ↗
(client: Client, resource_paths: ReadonlyArray<string>)

Source from the content-addressed store, hash-verified

420 * @returns {DebugImage[]}
421 */
422export function applyDebugMetadata(client: Client, resource_paths: ReadonlyArray<string>): DebugImage[] {
423 const options = client.getOptions();
424
425 if (!options?.stackParser) {
426 return [];
427 }
428
429 return getDebugImagesForResources(options.stackParser, resource_paths);
430}

Callers 2

createProfilePayloadFunction · 0.70

Calls 2

getOptionsMethod · 0.65

Tested by

no test coverage detected