Skip to content

Commit

Permalink
feat: appmap.debug enables additional debug info
Browse files Browse the repository at this point in the history
Setting System property appmap.debug=true also enables
the other debug settings (hooks, http).
  • Loading branch information
kgilpin committed Jul 29, 2021
1 parent 3d8db1f commit 67e935e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/appland/appmap/config/Properties.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

public class Properties {
public static final Boolean Debug = (System.getProperty("appmap.debug") != null);
public static final Boolean DebugHooks = (System.getProperty("appmap.debug.hooks") != null);
public static final Boolean DebugHooks = Debug || (System.getProperty("appmap.debug.hooks") != null);
public static final Boolean DebugLocals = (System.getProperty("appmap.debug.locals") != null);
public static final Boolean DebugHttp = Debug || System.getProperty("appmap.debug.http") != null;
public static final String DebugFile = resolveProperty("appmap.debug.file", (String)null);
public static final Boolean DebugHttp = System.getProperty("appmap.debug.http") != null;

public static final Boolean RecordingAuto = resolveProperty(
"appmap.recording.auto", Boolean::valueOf, false);
Expand Down

0 comments on commit 67e935e

Please sign in to comment.