Skip to content

Commit 0e35df1

Browse files
Copilotmotm32
andcommitted
Fix Azurite Table/Queue services not starting during durable function debugging
Co-authored-by: motm32 <59709511+motm32@users.noreply.github.com>
1 parent 0cc18f1 commit 0e35df1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/debug/validatePreDebug.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,11 @@ async function validateEmulatorIsRunning(context: IActionContext, projectPath: s
211211
const result: vscode.MessageItem = await context.ui.showWarningMessage(message, { learnMoreLink, modal: true, stepName: 'failedToConnectEmulator' }, debugAnyway, installOrRun);
212212
if (result === installOrRun) {
213213
if (azuriteExtension) {
214+
// Start all Azurite services (Blob, Table, Queue) required for durable functions
215+
// Durable functions require Table service for orchestration state and Queue service for messaging
214216
await vscode.commands.executeCommand('azurite.start_blob');
217+
await vscode.commands.executeCommand('azurite.start_table');
218+
await vscode.commands.executeCommand('azurite.start_queue');
215219
}
216220
else {
217221
await vscode.commands.executeCommand('workbench.extensions.installExtension', 'azurite.azurite');

0 commit comments

Comments
 (0)