(extraConfiguration?: { program: string | undefined, [key: string]: any })
| 1160 | } |
| 1161 | |
| 1162 | export 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 | |
| 1171 | export async function getLaunchConfiguration(script?: URI | string, extraConfiguration?: Record<string, any>): Promise<vs.DebugConfiguration & DartLaunchArgs | undefined | null> { |
| 1172 | if (script && typeof script !== "string") |
no outgoing calls