MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / getResolvedDebugConfiguration

Function getResolvedDebugConfiguration

src/test/helpers.ts:1162–1169  ·  view source on GitHub ↗
(extraConfiguration?: { program: string | undefined, [key: string]: any })

Source from the content-addressed store, hash-verified

1160}
1161
1162export async function getResolvedDebugConfiguration(extraConfiguration?: { program: string | undefined, [key: string]: any }): Promise<(vs.DebugConfiguration & DartLaunchArgs)> {
1163 const debugConfig: vs.DebugConfiguration = Object.assign({}, {
1164 name: `Dart & Flutter (${currentTestName})`,
1165 request: "launch",
1166 type: "dart",
1167 }, extraConfiguration);
1168 return await privateApi.debugProvider.resolveDebugConfigurationWithSubstitutedVariables!(vs.workspace.workspaceFolders![0], debugConfig) as vs.DebugConfiguration & DartLaunchArgs;
1169}
1170
1171export async function getLaunchConfiguration(script?: URI | string, extraConfiguration?: Record<string, any>): Promise<vs.DebugConfiguration & DartLaunchArgs | undefined | null> {
1172 if (script && typeof script !== "string")

Callers 8

dart_test.test.tsFile · 0.90
runDebuggerTypeTestsFunction · 0.90
runDebuggerTypeTestsFunction · 0.90
getLaunchConfigurationFunction · 0.85
getAttachConfigurationFunction · 0.85

Calls

no outgoing calls

Tested by 1

runDebuggerTypeTestsFunction · 0.72