Skip to content

Commit

Permalink
disable Debugger Launch
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Mar 7, 2020
1 parent d1747e3 commit e1eea28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/Mobile.BuildTools/Tasks/AppConfigCopyTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public class AppConfigCopyTask : BuildToolsTaskBase

internal override void ExecuteInternal(IBuildConfiguration config)
{
if (!System.Diagnostics.Debugger.IsAttached)
System.Diagnostics.Debugger.Launch();
// if (!System.Diagnostics.Debugger.IsAttached)
// System.Diagnostics.Debugger.Launch();

if (!InputConfigFiles.Any())
{
Expand Down
12 changes: 6 additions & 6 deletions src/Mobile.BuildTools/Tasks/CollectImageAssetsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ public class CollectImageAssetsTask : BuildToolsTaskBase

internal override void ExecuteInternal(IBuildConfiguration config)
{
#if DEBUG
if (!System.Diagnostics.Debugger.IsAttached)
System.Diagnostics.Debugger.Launch();
else
System.Diagnostics.Debugger.Break();
#endif
// #if DEBUG
// if (!System.Diagnostics.Debugger.IsAttached)
// System.Diagnostics.Debugger.Launch();
// else
// System.Diagnostics.Debugger.Break();
// #endif

GeneratedImages = Array.Empty<ITaskItem>();
var generator = CreateGenerator(config.Platform, config);
Expand Down

0 comments on commit e1eea28

Please sign in to comment.