Skip to content

Commit

Permalink
Change PDBs inclusion default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
duduita committed Jan 12, 2024
1 parent 29919b7 commit e580364
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions VS4Mac_Meadow_Extension/MeadowExecutionCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e580364

Please sign in to comment.