Description
DebugProbe currently requires manual configuration to allow local compare targets:
options.AllowLocalCompareTargets = true;
This creates unnecessary setup during local development where compare functionality is commonly used.
Current Behavior
AllowLocalCompareTargets defaults to false in all environments unless explicitly configured by the user.
Expected Behavior
DebugProbe should automatically enable local compare targets when the application runs in the Development environment.
Behavior should work as follows:
-
Development
- default value should be
true
-
all other environments
- default value should remain
false
Important
If the user explicitly configures the option:
options.AllowLocalCompareTargets = true;
or
options.AllowLocalCompareTargets = false;
that value should always take priority over automatic environment-based defaults.
Suggested Fix
Inside the DebugProbe configuration/setup logic:
- detect the current hosting environment
- automatically enable local compare targets for
Development
- preserve explicit user configuration when provided
Result
After this change:
- local compare setup becomes easier during development
- safer defaults remain for non-development environments
- explicit user configuration is preserved
- developer experience improves with less manual configuration
Description
DebugProbe currently requires manual configuration to allow local compare targets:
This creates unnecessary setup during local development where compare functionality is commonly used.
Current Behavior
AllowLocalCompareTargetsdefaults tofalsein all environments unless explicitly configured by the user.Expected Behavior
DebugProbe should automatically enable local compare targets when the application runs in the
Developmentenvironment.Behavior should work as follows:
Developmenttrueall other environments
falseImportant
If the user explicitly configures the option:
or
that value should always take priority over automatic environment-based defaults.
Suggested Fix
Inside the DebugProbe configuration/setup logic:
DevelopmentResult
After this change: