Skip to content

Commit eed22a2

Browse files
authored
Revert "Disable debugger by default if CI Visibility is enabled (#8506)"
This reverts commit 3453e65.
1 parent 951960b commit eed22a2

File tree

1 file changed

+0
-8
lines changed
  • dd-java-agent/agent-bootstrap/src/main/java/datadog/trace/bootstrap

1 file changed

+0
-8
lines changed

dd-java-agent/agent-bootstrap/src/main/java/datadog/trace/bootstrap/Agent.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,14 +1121,6 @@ && isExplicitlyDisabled(TraceInstrumentationConfig.CODE_ORIGIN_FOR_SPANS_ENABLED
11211121
&& isExplicitlyDisabled(DebuggerConfig.DISTRIBUTED_DEBUGGER_ENABLED)) {
11221122
return;
11231123
}
1124-
if (ciVisibilityEnabled
1125-
&& !dynamicInstrumentationEnabled
1126-
&& !exceptionReplayEnabled
1127-
&& !codeOriginEnabled
1128-
&& !distributedDebuggerEnabled) {
1129-
// if CI Visibility is enabled, debugger should be disabled by default
1130-
return;
1131-
}
11321124
if (!remoteConfigEnabled) {
11331125
log.warn("Cannot enable Dynamic Instrumentation because Remote Configuration is not enabled");
11341126
return;

0 commit comments

Comments
 (0)