mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
do not break existing debug extensions
This commit is contained in:
@@ -50,12 +50,12 @@ export class MainThreadDebugService implements MainThreadDebugServiceShape {
|
||||
type: debugType
|
||||
};
|
||||
if (hasProvide) {
|
||||
provider.provideDebugConfigurations = (folder: URI | undefined) => {
|
||||
provider.provideDebugConfigurations = folder => {
|
||||
return this._proxy.$provideDebugConfigurations(handle, folder);
|
||||
};
|
||||
}
|
||||
if (hasResolve) {
|
||||
provider.resolveDebugConfiguration = (folder: URI | undefined, debugConfiguration: any) => {
|
||||
provider.resolveDebugConfiguration = (folder, debugConfiguration) => {
|
||||
return this._proxy.$resolveDebugConfiguration(handle, folder, debugConfiguration);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user