(vmServiceUri: string | undefined, extraConfiguration?: { program: string | undefined, [key: string]: any })
| 27 | }); |
| 28 | |
| 29 | async function attachDebugger(vmServiceUri: string | undefined, extraConfiguration?: { program: string | undefined, [key: string]: any }): Promise<vs.DebugConfiguration & DartVsCodeLaunchArgs> { |
| 30 | const config = await getAttachConfiguration(Object.assign({ vmServiceUri }, extraConfiguration)); |
| 31 | if (!config) |
| 32 | throw new Error(`Could not get launch configuration (got ${config})`); |
| 33 | await dc.start(); |
| 34 | return config; |
| 35 | } |
| 36 | |
| 37 | it("runs to completion", async () => { |
| 38 | const config = await startDebugger(dc, helloWorldMainFile); |
no test coverage detected