From 6265ee5fcaad86a2b350bb18ff5407717b9ba39b Mon Sep 17 00:00:00 2001 From: Andre Weinand Date: Fri, 16 Nov 2018 01:29:37 +0100 Subject: [PATCH] ensure backward compatibility for Tracker --- src/vs/workbench/api/node/extHostDebugService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/api/node/extHostDebugService.ts b/src/vs/workbench/api/node/extHostDebugService.ts index c599abff14e..96f01d55983 100644 --- a/src/vs/workbench/api/node/extHostDebugService.ts +++ b/src/vs/workbench/api/node/extHostDebugService.ts @@ -662,7 +662,7 @@ export class ExtHostDebugService implements ExtHostDebugServiceShape { const type = config.type; const promises = this._configProviders .filter(pair => pair.provider.provideDebugAdapterTracker && (pair.type === type || pair.type === '*')) - .map(pair => asThenable(() => pair.provider.provideDebugAdapterTracker(session, CancellationToken.None)).then(p => p).catch(err => null)); + .map(pair => asThenable(() => (pair.provider as any).provideDebugAdapterTracker(session, session.workspaceFolder, session.configuration, CancellationToken.None)).then(p => p).catch(err => null)); return Promise.race([ Promise.all(promises).then(trackers => {