Skip to content

Commit f77329f

Browse files
authored
Fix overwrite of required debugger environment settings (#4734)
1 parent 54df98c commit f77329f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/debug/FuncTaskProvider.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,12 @@ export class FuncTaskProvider implements TaskProvider {
124124
const [azureWebJobsStorage, isEmulator] = await getLocalSettingsConnectionString(context, ConnectionKey.Storage, folder.uri.fsPath);
125125
if (azureWebJobsStorage && isEmulator) {
126126
options.env = {
127+
...options.env,
128+
// The purpose of setting this manually is so that we can honor any custom Azurite connection settings that the user may have already set up
129+
// See: https://github.com/microsoft/vscode-azurefunctions/pull/4703
130+
// Todo: https://github.com/microsoft/vscode-azurefunctions/issues/4735
127131
"AzureWebJobsStorage": azureWebJobsStorage
128-
}
132+
};
129133
}
130134

131135
definition = definition || { type: func, command };

0 commit comments

Comments
 (0)