diff --git a/package-lock.json b/package-lock.json index 60c93f2f2..0c9559955 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@azure/core-client": "^1.7.3", "@azure/core-rest-pipeline": "^1.11.0", "@azure/storage-blob": "^12.5.0", - "@microsoft/vscode-azext-azureappservice": "^2.2.0", + "@microsoft/vscode-azext-azureappservice": "^2.1.1", "@microsoft/vscode-azext-azureappsettings": "^0.2.0", "@microsoft/vscode-azext-azureutils": "^2.0.1", "@microsoft/vscode-azext-utils": "^2.0.0", @@ -797,9 +797,9 @@ } }, "node_modules/@microsoft/vscode-azext-azureappservice": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@microsoft/vscode-azext-azureappservice/-/vscode-azext-azureappservice-2.2.0.tgz", - "integrity": "sha512-M0VgS2FDg+LXbDS/lC4+QpREnhzcX1FbgvHXc97Fdu18ZdspQLQc4ooJv2F/g0Z1YPht3KRqqlLWxYEuHgxdfQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@microsoft/vscode-azext-azureappservice/-/vscode-azext-azureappservice-2.1.1.tgz", + "integrity": "sha512-+sABSN7ulJaBI7cXYcQp6bxcoubqMQ2xHHAZcUEzuYhkN0i2c9nYbfVlt+7mdoAHFnI5JgFIXnReKu/12bobmA==", "dependencies": { "@azure/abort-controller": "^1.0.4", "@azure/arm-appinsights": "^5.0.0-beta.4", @@ -13842,9 +13842,9 @@ } }, "@microsoft/vscode-azext-azureappservice": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@microsoft/vscode-azext-azureappservice/-/vscode-azext-azureappservice-2.2.0.tgz", - "integrity": "sha512-M0VgS2FDg+LXbDS/lC4+QpREnhzcX1FbgvHXc97Fdu18ZdspQLQc4ooJv2F/g0Z1YPht3KRqqlLWxYEuHgxdfQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@microsoft/vscode-azext-azureappservice/-/vscode-azext-azureappservice-2.1.1.tgz", + "integrity": "sha512-+sABSN7ulJaBI7cXYcQp6bxcoubqMQ2xHHAZcUEzuYhkN0i2c9nYbfVlt+7mdoAHFnI5JgFIXnReKu/12bobmA==", "requires": { "@azure/abort-controller": "^1.0.4", "@azure/arm-appinsights": "^5.0.0-beta.4", diff --git a/package.json b/package.json index 81337a24d..34329ebef 100644 --- a/package.json +++ b/package.json @@ -1151,7 +1151,7 @@ "@azure/core-client": "^1.7.3", "@azure/core-rest-pipeline": "^1.11.0", "@azure/storage-blob": "^12.5.0", - "@microsoft/vscode-azext-azureappservice": "^2.2.0", + "@microsoft/vscode-azext-azureappservice": "^2.1.1", "@microsoft/vscode-azext-azureappsettings": "^0.2.0", "@microsoft/vscode-azext-azureutils": "^2.0.1", "@microsoft/vscode-azext-utils": "^2.0.0", diff --git a/src/commands/remoteDebug/startRemoteDebug.ts b/src/commands/remoteDebug/startRemoteDebug.ts index 3e5d1df92..dcadfc060 100644 --- a/src/commands/remoteDebug/startRemoteDebug.ts +++ b/src/commands/remoteDebug/startRemoteDebug.ts @@ -28,10 +28,5 @@ export async function startRemoteDebug(context: IActionContext, node?: SlotTreeI const appServicePlan = await siteClient.getAppServicePlan(); const language: appservice.RemoteDebugLanguage = getRemoteDebugLanguage(siteConfig, appServicePlan?.sku?.family); - await appservice.startRemoteDebug(context, { - site: node.site, - siteConfig, - language, - credentials: node.site.subscription.credentials, - }); + await appservice.startRemoteDebug(context, node.site, siteConfig, language); }