From e58036403edb84cee4ed3162b8132b0d0f6e5de6 Mon Sep 17 00:00:00 2001 From: Eduardo Menezes Date: Fri, 12 Jan 2024 13:09:27 -0300 Subject: [PATCH] Change PDBs inclusion default to false --- VS4Mac_Meadow_Extension/MeadowExecutionCommand.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/VS4Mac_Meadow_Extension/MeadowExecutionCommand.cs b/VS4Mac_Meadow_Extension/MeadowExecutionCommand.cs index 303bbc0..0e34291 100644 --- a/VS4Mac_Meadow_Extension/MeadowExecutionCommand.cs +++ b/VS4Mac_Meadow_Extension/MeadowExecutionCommand.cs @@ -61,13 +61,14 @@ public async Task DeployApp(int debugPort, CancellationToken cancellationToken) var configuration = IdeApp.Workspace.ActiveConfiguration; - bool includePdbs = configuration is SolutionConfigurationSelector isScs + bool isDebugging = configuration is SolutionConfigurationSelector isScs && isScs?.Id == "Debug" && debugPort > 1000; + var includePdbs = false; await meadow.DeployApp(fileNameExe, includePdbs, cancellationToken); - if (includePdbs) + if (isDebugging) { meadowDebugServer = await meadow.StartDebuggingSession(debugPort, cancellationToken); }